[dolphin] [Bug 495371] Shift-click works like Ctrl-click after "Trash" operation

Akseli Lahtinen bugzilla_noreply at kde.org
Thu Nov 21 12:42:49 GMT 2024


https://bugs.kde.org/show_bug.cgi?id=495371

Akseli Lahtinen <akselmo at akselmo.dev> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/syst
                   |                            |em/dolphin/-/commit/fd3f4e5
                   |                            |fc1d7360004299a9d5ffa9b5571
                   |                            |e7b1e9
             Status|ASSIGNED                    |RESOLVED

--- Comment #3 from Akseli Lahtinen <akselmo at akselmo.dev> ---
Git commit fd3f4e5fc1d7360004299a9d5ffa9b5571e7b1e9 by Akseli Lahtinen.
Committed on 21/11/2024 at 12:42.
Pushed by akselmo into branch 'master'.

DolphinView: beginAnchoredSelection after setSelected in selectNextItem

Currently when next item is set selected, it's not set as an anchor.
This means that shift-click will not select items between the selection
and the next item, and instead behaves like ctrl-click. 
This is rather inconsistent behavior.

We should set the next selected item as an anchor so that shift-click
will work: This change starts the `beginAnchoredSelection`
process after `setSelection`.

For example, if user trashes an item and the next item is selected,
shift-click would stop working. 

M  +1    -0    src/views/dolphinview.cpp

https://invent.kde.org/system/dolphin/-/commit/fd3f4e5fc1d7360004299a9d5ffa9b5571e7b1e9

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list