From kde-devel Mon Sep 09 23:39:49 2013 From: Lindsay Mathieson Date: Mon, 09 Sep 2013 23:39:49 +0000 To: kde-devel Subject: Re: Stuck on session restore Message-Id: X-MARC-Message: https://marc.info/?l=kde-devel&m=137877002204348 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============3776367883176740119==" --===============3776367883176740119== Content-Type: multipart/alternative; boundary=047d7b5db26a6f1d8504e5fbe73d --047d7b5db26a6f1d8504e5fbe73d Content-Type: text/plain; charset=ISO-8859-1 Thanks, I'll look into what they did On 10 September 2013 01:55, Weng Xuetian wrote: > As far as I remember KDevelop used to have same problem but now they fixed > it? > > If you want to keep the splash screen you can check their code. > > > On Sat, Aug 31, 2013 at 7:36 AM, David Faure wrote: > >> On Sunday 11 August 2013 01:32:09 Lindsay Mathieson wrote: >> > On Sat, 10 Aug 2013 12:45:35 PM Lindsay Mathieson wrote: >> > > I'm trying to add session restore to kleopatra and am completely >> stuck on >> > > it. The appropriate functions are being called but it appears to be >> > > passed >> > > the wrong session id each time. >> > >> > Figured out the problem - weirdly enough it was kleopatra's splash >> screen. >> > Showing the splash screen caused KApplication::saveState(...) to be >> invoked, >> > which forces a new session Id to be generated. >> > >> > Not a fan of splash screens myself - always obscuring things at the >> wrong >> > moment. Anyone mind if I just remove it? >> >> It's indeed not very common in KDE applications. >> I wouldn't mind if it went away. >> You even found a technical reason to do that :-) >> >> -- >> David Faure, faure@kde.org, http://www.davidfaure.fr >> Working on KDE, in particular KDE Frameworks 5 >> >> >> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to >> unsubscribe << >> > > > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to > unsubscribe << > > -- Lindsay --047d7b5db26a6f1d8504e5fbe73d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks, I'll look into what they did


On 10 September 2013 = 01:55, Weng Xuetian <wengxt@gmail.com> wrote:
As far as I remember K= Develop used to have same problem but now they fixed it?

If yo= u want to keep the splash screen you can check their code.


On Sat, Aug 31, 2013 at 7:36 AM, David Faure <faure@kde.org> wr= ote:
On Sunday 11 August 2013 01:32:09 Lindsay Mathieson wrote:
> On Sat, 10 Aug 2013 12:45:35 PM Lindsay Mathieson wrote:
> > I'm trying to add session restore to kleopatra and am complet= ely stuck on
> > it. =A0The appropriate functions are being called but it appears = to be
> > passed
> > the wrong session id each time.
>
> Figured out the problem - weirdly enough it was kleopatra's splash= screen.
> Showing the splash screen caused KApplication::saveState(...) to be in= voked,
> which forces a new session Id to be generated.
>
> Not a fan of splash screens myself - always obscuring things at the wr= ong
> moment. Anyone mind if I just remove it?

It's indeed not very common in KDE applications.
I wouldn't mind if it went away.
You even found a technical reason to do that :-)

--
David Faure, faure@kde.o= rg, http://www.d= avidfaure.fr
Working on KDE, in particular KDE Frameworks 5


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub= to unsubscribe <<



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub= to unsubscribe <<




--
Lindsay --047d7b5db26a6f1d8504e5fbe73d-- --===============3776367883176740119== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============3776367883176740119==--