! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
kwrite reopens with empty files
Status:
RESOLVED: INVALID
Priority:
Very Low
Product:
Xfce4-session
Component:
General

Comments

Description Damir Perisa 2005-01-21 21:46:31 CET
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"
Comment 1 Benedikt Meurer editbugs 2005-01-21 22:01:47 CET
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.
Comment 2 Damir Perisa 2005-01-21 22:42:30 CET
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 
Comment 3 Benedikt Meurer editbugs 2005-01-22 09:38:06 CET
Reopen the bug.
Comment 4 Benedikt Meurer editbugs 2006-08-12 17:22:14 CEST
Definitely a problem in kwrite.

Bug #733

Reported by:
Damir Perisa
Reported on: 2005-01-21
Last modified on: 2009-07-14

People

Assignee:
Benedikt Meurer
CC List:
0 users

Version

Attachments

Additional information