Bug 392318

Summary: Folder View: Keyboard Shift+Home/End does not work
Product: [Plasma] plasmashell Reporter: Gregor Mi <codestruct>
Component: FolderAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: normal CC: plasma-bugs
Priority: NOR    
Version: 5.12.2   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.12.4

Description Gregor Mi 2018-03-25 17:04:00 UTC
In Dolphin it works like this:

1. Select a file item
2. Go to edit mode (F2)
3. Press Home to set the cursor to the beginning
4. Press Shift+End to select the whole text

In Folder View the keyboard shortcuts Shift+Home/End do not work as expected.
Comment 1 Kai Uwe Broulik 2018-03-26 08:27:52 UTC
Git commit 5d719c1bb374914952eeedeb2b5a931881a9a1d0 by Kai Uwe Broulik.
Committed on 26/03/2018 at 08:26.
Pushed by broulik into branch 'Plasma/5.12'.

[Folder View] Fix selecting text with Shift+Home/End

By accepting the key event we also keep the TextArea from trying to move the cursor itself potentially undoing our selection in the process.
FIXED-IN: 5.12.4

Differential Revision: https://phabricator.kde.org/D11708

M  +12   -2    containments/desktop/package/contents/ui/FolderView.qml

https://commits.kde.org/plasma-desktop/5d719c1bb374914952eeedeb2b5a931881a9a1d0