Merge lp:~jeremywootten/pantheon-files/fix-select-when-scrolled-regression into lp:~elementary-apps/pantheon-files/trunk
Proposed by
Jeremy Wootten
Status: | Merged |
---|---|
Approved by: | David Hewitt |
Approved revision: | 2516 |
Merged at revision: | 2529 |
Proposed branch: | lp:~jeremywootten/pantheon-files/fix-select-when-scrolled-regression |
Merge into: | lp:~elementary-apps/pantheon-files/trunk |
Diff against target: |
144 lines (+58/-30) 3 files modified
src/View/AbstractDirectoryView.vala (+1/-25) src/View/AbstractTreeView.vala (+24/-0) src/View/IconView.vala (+33/-5) |
To merge this branch: | bzr merge lp:~jeremywootten/pantheon-files/fix-select-when-scrolled-regression |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
David Hewitt | code, function | Approve | |
Review via email: mp+318655@code.launchpad.net |
Commit message
Implement separate is_on_icon () method for IconView
Description of the change
This branch fixes a fairly serious regression in the selection of items in Icon View using the selection helper, which no longer works properly when the view is scrolled.
This was due to the same code being used to determine whether the pointer was on the icon or helper for all the views, but there are subtle differences in the way IconView renders the items and the coordinates it supplies to the renderer meaning that a separate slightly different method has to be used.
To post a comment you must log in.
Can confirm that it fixes the bug and selection in the other two views remains working as intended.