KOrganizer and session management problem (wrong config file)

Reinhold Kainhofer reinhold at kainhofer.com
Sat Aug 16 14:36:40 BST 2003


Hi,
I'm trying to track down KOrganizer's session management problem (namely, no 
working session management at all, bug 49356). 
The problem seems that the config file used in the KConfig object passed to 
KOrganizer's readProperties(KConfig*) is NOT the config file where the data 
was stored on logout or saveCurrentSession() in kdcop.

For example, my .kde/share/config/ksmserverrc says:

[Session: saved at previous logout]
clientId1=117f000001000106017876100000064050000
clientId2=117f000001000106103971800000071220006
count=2
discardCommand1=rm,$HOME/.kde/share/config/session/kwin_117f000001000106017876100000064050000_1061039810_784205
discardCommand2=rm,$HOME/.kde/share/config/session/korganizer_117f000001000106103971800000071220006_1061039808_346205
program1=kwin
program2=korganizer
restartCommand1=kwin,-session,117f000001000106017876100000064050000_1061039810_784205
restartCommand2=korganizer,-session,117f000001000106103971800000071220006_1061039808_346205
restartStyleHint1=0
restartStyleHint2=0
userId1=kde
userId2=kde

The file
$HOME/.kde/share/config/session/korganizer_117f000001000106103971800000071220006_1061039808_346205
really exists and contains the correct settings from last logout.

Now, when I log in, and korganizer is automatically restarted, it does not use 
that config file, but the numbers after the  second _ are different. In 
particular, it used:
session/korganizer_117f000001000106103971800000071220006_1061039885_664248

Also, if I start korganizer manually, giving 
korganizer --session 117f000001000106103971800000071220006
or
korganizer --session 117f000001000106103971800000071220006_1061039808_346205,
also then a different config file is used. Each time I start korganizer giving 
the explicit session ID, the last numbers are different. Some config file 
names used when starting korg that way are:
session/korganizer_117f000001000106103971800000071220006_1061040090_537970
session/korganizer_117f000001000106103971800000071220006_1061040131_73212
session/korganizer_117f000001000106103971800000071220006_1061040662_204842
session/korganizer_117f000001000106103971800000071220006_1061040672_959594
session/korganizer_117f000001000106103971800000071220006_1061040681_406725
session/korganizer_117f000001000106103971800000071220006_1061040693_696628

Any idea what might be wrong here?

Thanks,
Reinhold




More information about the kde-core-devel mailing list