From kde-commits Mon Feb 07 12:52:15 2005 From: Lubos Lunak Date: Mon, 07 Feb 2005 12:52:15 +0000 To: kde-commits Subject: Re: kdebase/klipper Message-Id: <200502071352.15782.l.lunak () suse ! cz> X-MARC-Message: https://marc.info/?l=kde-commits&m=110778074422026 On Saturday 05 of February 2005 19:25, Waldo Bastian wrote: > On Saturday 05 February 2005 19:07, Esben Mose Hansen wrote: > > CVS commit by esben: > > > > Turning session mangement off for Klipper breaks the persistent clipboard > > history. I have been unable to detect ill effects of having it turned on, > > on it is. Even applications that have "disabled" session management actually still take part in it, they just won't be restored on next login. And it also seems they don't have some session saving functions called (that part unfortunately seems to be a mess nobody really understands). I think it should work if you revert and instead of using KApplication::saveState() subclass KSessionManaged and do the saving in commitData(). If that doesn't work please tell me, and I'll dig deeper and find the right way. Starting Klipper both manually and from session is not right. > > You will need to watch out that klipper doesn't get started twice, once by > session management and once by autostart. That would be rather slow and > will lead to problems like disabling klippers autostart not working if its > still part of the session. -- Lubos Lunak KDE developer --------------------------------------------------------------------- SuSE CR, s.r.o. e-mail: l.lunak@suse.cz , l.lunak@kde.org Drahobejlova 27 tel: +420 2 9654 2373 190 00 Praha 9 fax: +420 2 9654 2374 Czech Republic http://www.suse.cz/