<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"><<a href="mailto:faure@kde.org" target="_blank">faure@kde.org</a>></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>
> On Sat, 10 Aug 2013 12:45:35 PM Lindsay Mathieson wrote:<br>
> > I'm trying to add session restore to kleopatra and am completely stuck on<br>
> > it.  The appropriate functions are being called but it appears to be<br>
> > passed<br>
> > the wrong session id each time.<br>
><br>
> Figured out the problem - weirdly enough it was kleopatra's splash screen.<br>
> Showing the splash screen caused KApplication::saveState(...) to be invoked,<br>
> which forces a new session Id to be generated.<br>
><br>
> Not a fan of splash screens myself - always obscuring things at the wrong<br>
> moment. Anyone mind if I just remove it?<br>
<br>
</div></div>It's indeed not very common in KDE applications.<br>
I wouldn'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>
>> 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 <<<br>
</font></span></blockquote></div><br></div>