Merge lp://qastaging/~gero-bare/scratch/fix-1392031-again into lp://qastaging/~elementary-apps/scratch/scratch

Proposed by Gero.Bare
Status: Work in progress
Proposed branch: lp://qastaging/~gero-bare/scratch/fix-1392031-again
Merge into: lp://qastaging/~elementary-apps/scratch/scratch
Diff against target: 143 lines (+22/-26)
2 files modified
src/MainWindow.vala (+8/-15)
src/Widgets/SplitView.vala (+14/-11)
To merge this branch: bzr merge lp://qastaging/~gero-bare/scratch/fix-1392031-again
Reviewer Review Type Date Requested Status
Danielle Foré Needs Fixing
Review via email: mp+318710@code.qastaging.launchpad.net

Description of the change

Ok things to be tested.

> Open files using the file manager plugin.
> Open new SplitView, make sure that:
  * new tabs (Ctrl-n) are opened in the right split view.
  * files opened with the filemanager are opened in the right view.
  * switch focus between views and test the same conditions.

etc.

Additional notes. Sometimes a view is closed and when reopened it opens all the previously opened files but sometimes not. I don't know if intended or not, I wont fix.
I found that opening files with folder icon, can sometimes open the same file twice in the same splitview, I couldn't reproduce reliably plus I found it in the middle of the iteration so be warned, but I don't think that it's entirely my fault. But I won't fix.

To post a comment you must log in.
Revision history for this message
Danielle Foré (danrabbit) wrote :

Please make sure this doesn't break the folder sidebar

review: Needs Fixing
Revision history for this message
Danielle Foré (danrabbit) wrote :

With this change, opening files from the folder sidebar often does not work. It seems like it's maybe trying to open the file in the closed pane instead of the opened one.

Unmerged revisions

1831. By Gero.Bare

      * Fixed bug 1392031 again

      * Removed calls to split_view.get_focus_child (), use get_current_view () instead.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches