Review Request: Konqueror: Ask for session restore ONLY on plain startup (not for every window)

David Faure faure at kde.org
Mon Aug 29 17:09:32 BST 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/101850/#review6144
-----------------------------------------------------------



konqueror/src/konqmain.cpp
<http://git.reviewboard.kde.org/r/101850/#comment5429>

    So it won't ask when logging into a new KDE session? Seems to me that this could be kept here, no? It's not what you have been annoyed with ("on every popup").



konqueror/src/konqmisc.cpp
<http://git.reviewboard.kde.org/r/101850/#comment5430>

    If you don't offer restoration when opening a new URL, then offering that only on process startup is not enough. When using preloading (and especially if one sets the use of preloading to "always"), then there is never a new process started, it's all in one process, and kfmclient simply talks to the running konqueror. So you would never offer restoration.
    
    It seems to me that you would like it to run when "clicking on the konqueror icon only", but that icon is usually wired to kfmclient, not to konqueror directly. So it's kind of hard to make a difference, unless you add a different command-line switch to kfmclient which could then, when talking to a running konqueror, start by calling the "ask user" via DBus...
    


- David


On July 4, 2011, 11:44 p.m., Marcel Partap wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/101850/
> -----------------------------------------------------------
> 
> (Updated July 4, 2011, 11:44 p.m.)
> 
> 
> Review request for KDE Base Apps and David Faure.
> 
> 
> Summary
> -------
> 
> This patch stops asking for session restore for EVERY new window (popups!) and does so ONLY when initial konqueror process is started, and called without URL. Because i didn't want to loose all my crashed sessions and the 'import crashed sessions as bookmarks' feature disappeared sometime, i had been clicking on 'ask again later' 42 bazillion times. Restoring all the crashed sessions always brought down the process (imho each session should restore as individual process, but that is another patch).
> 
> 
> Diffs
> -----
> 
>   konqueror/src/konqmain.cpp 218e708 
>   konqueror/src/konqmisc.cpp c46dc07 
> 
> Diff: http://git.reviewboard.kde.org/r/101850/diff
> 
> 
> Testing
> -------
> 
> Tryed out and traced everything with GDB, does as says. Finally no huge crashed-session-parsing-delay for every stupid popup ^^
> 
> 
> Thanks,
> 
> Marcel
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20110829/0bd2f0b7/attachment.htm>


More information about the kde-core-devel mailing list