i don't know details about the new session manager (i used 4.0.6 before switching to 4.2.0 yesterday - without session manager) .... but this sounds strange: reproduce: ---------- 1) start xfce4 with kde-services enabled ... open some (3) files in kwrite 1.1) all files are saved 2) shut down xfce4 (using the button in the panel) 3) start xfce4 again ==> it starts automatically 3 kwrite windows, but in all, there is no file loaded ... it starts without loading a file :-( by common sense, i think, that it should open also the files that were open before ... you agree? note: i start xfce4 in .xinitrc using "startxfce4"
I completely agree with you, the application should restore its state properly. Unfortunately this bug is unlikely to be located in xfce4-session, and so I can't fix it. On shutdown (session shutdown), the session manager asks all applications, that are connected to the session manager, to save their state. The applications (not the session manager) are then responsible to save the state (whatever that means for a particular app, e.g. a text editor should store the name and state of the file currently opened). On next login, the session manager then restarts the applications the way they requested to be restarted. This looks like a bug in kwrite to me, and I bet its the same bug as the already known Konqueror/Konsole restore problem (reproducible with xsm, xfce4-session and gnome-session). Please file a problem report to the KDE people.
i just found this bug: http://bugs.kde.org/show_bug.cgi?id=49270 maybe it is fixed for kde but does not work with non-kde-session-management? i0m not sure, if i should reopen this bug or not
Reopen the bug.
Definitely a problem in kwrite.