When I have open gvim editors in KDE and I log out and log in again, the editors are not restored properly in the sense that they are started, but without the document I was editing.
It turned out the solution is really easy:# apitude install vim-gnome# update-alternatives --config gvim
and make sure you pick the gnome version as prefered version of gvim in the update-alternatives menu. Aparantly the gnome version is also KDE session aware.