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

List:       kde-devel
Subject:    Re: Stuck on session restore
From:       Lindsay Mathieson <lindsay.mathieson () gmail ! com>
Date:       2013-09-09 23:39:49
Message-ID: CAEMkAmG781Gn-WPJSxK5MT5JxW1uRN5dGZSnc+YwEH5ZAdhVDA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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 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 <<
>>
>
>
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> unsubscribe <<
>
>


-- 
Lindsay

[Attachment #5 (text/html)]

<div dir="ltr">Thanks, I&#39;ll look into what they did<br></div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On 10 September 2013 01:55, Weng \
Xuetian <span dir="ltr">&lt;<a href="mailto:wengxt@gmail.com" \
target="_blank">wengxt@gmail.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><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"><div><div class="h5"> 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></div></div><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> <div><div class="h5">
<div><div>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>
</div></div><span><font color="#888888"><div><div class="h5"><br>
--<br>
David Faure, <a href="mailto:faure@kde.org" target="_blank">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></div></div>
&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>
<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> <br></blockquote></div><br><br clear="all"><br>-- \
<br>Lindsay </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