[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdebase/klipper
From:       Lubos Lunak <l.lunak () suse ! cz>
Date:       2005-02-07 12:52:15
Message-ID: 200502071352.15782.l.lunak () suse ! cz
[Download RAW message or body]

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/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic