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

List:       kde-devel
Subject:    Re: Stuck on session restore
From:       Weng Xuetian <wengxt () gmail ! com>
Date:       2013-09-09 15:55:38
Message-ID: CAKiDycG_JJpxxZ5jJKfnh7seyrC9v8won2HaVo7ouMfiUhTMTg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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 <faure@kde.org> 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 <<
>

[Attachment #5 (text/html)]

<div dir="ltr"><div>As far as I remember KDevelop used to have same problem but now \
they fixed it?<br><br></div>If you want to keep the splash screen you can check their \
code.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote"> On Sat, Aug \
31, 2013 at 7:36 AM, David Faure <span dir="ltr">&lt;<a href="mailto:faure@kde.org" \
target="_blank">faure@kde.org</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> <div class="HOEnZb"><div class="h5">On Sunday 11 August 2013 \
01:32:09 Lindsay Mathieson wrote:<br> &gt; On Sat, 10 Aug 2013 12:45:35 PM Lindsay \
Mathieson wrote:<br> &gt; &gt; I&#39;m trying to add session restore to kleopatra and \
am completely stuck on<br> &gt; &gt; it.   The appropriate functions are being called \
but it appears to be<br> &gt; &gt; passed<br>
&gt; &gt; the wrong session id each time.<br>
&gt;<br>
&gt; Figured out the problem - weirdly enough it was kleopatra&#39;s splash \
screen.<br> &gt; Showing the splash screen caused KApplication::saveState(...) to be \
invoked,<br> &gt; which forces a new session Id to be generated.<br>
&gt;<br>
&gt; Not a fan of splash screens myself - always obscuring things at the wrong<br>
&gt; moment. Anyone mind if I just remove it?<br>
<br>
</div></div>It&#39;s indeed not very common in KDE applications.<br>
I wouldn&#39;t mind if it went away.<br>
You even found a technical reason to do that :-)<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
David Faure, <a href="mailto:faure@kde.org">faure@kde.org</a>, <a \
href="http://www.davidfaure.fr" target="_blank">http://www.davidfaure.fr</a><br> \
Working on KDE, in particular KDE Frameworks 5<br> <br>
<br>
&gt;&gt; Visit <a href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub" \
target="_blank">http://mail.kde.org/mailman/listinfo/kde-devel#unsub</a> to \
unsubscribe &lt;&lt;<br> </font></span></blockquote></div><br></div>



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


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

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