Bug 392318 - Folder View: Keyboard Shift+Home/End does not work
Summary: Folder View: Keyboard Shift+Home/End does not work
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Folder (show other bugs)
Version: 5.12.2
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-25 17:04 UTC by Gregor Mi
Modified: 2018-03-26 08:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.12.4


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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