Review Request 119961: Only keep the active view container connected with the main window

Emmanuel Pescosta emmanuelpescosta099 at gmail.com
Sun Aug 31 16:05:23 BST 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/119961/
-----------------------------------------------------------

(Updated Aug. 31, 2014, 3:05 p.m.)


Status
------

This change has been marked as submitted.


Review request for Dolphin.


Bugs: 338549
    http://bugs.kde.org/show_bug.cgi?id=338549


Repository: kde-baseapps


Description
-------

Only keep the active view container connected with the main window, all inactive 
view containers are disconnected. Changing the connections is done whenever
the active view has been changed, so we can always guarantee that only the 
active view is connected.

The problem with restoring saved sessions is, that we create a new view container
in DolphinTabPage::restoreState() when split view was used in the previous session,
but this view container isn't connected to the main window slots because 
DolphinMainWindow::connectViewSignals() is not called for this container. This leads
to these strange problems: no context menu, ...

This patch uses the "keep only one view connected"-logic from master. I think it's
safe enough for the stable branch, because we use it for quite a while already in
master and I haven't found any problems yet.


Diffs
-----

  dolphin/src/dolphinmainwindow.cpp db4ad07 

Diff: https://git.reviewboard.kde.org/r/119961/diff/


Testing
-------

Split view, tabs, session restoring, ... works for me :)

No problems found so far


Thanks,

Emmanuel Pescosta

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20140831/73a1fe27/attachment.htm>


More information about the kfm-devel mailing list