Bug 474624 - Holding arrow key and then shift key does not engage text selection in any app on Wayland as it does on X11
Summary: Holding arrow key and then shift key does not engage text selection in any ap...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.27.7
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-17 17:32 UTC by Philipp Maierhöfer
Modified: 2024-06-25 19:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Maierhöfer 2023-09-17 17:32:39 UTC
SUMMARY
Text selection with shift + arrow keys on Wayland doesn't work in any KDE application when the arrow key is pressed before the shift key. The other way around, i.e. first press and hold shift, then press an arrow key, selection works.

STEPS TO REPRODUCE
1. Open an application that displays editable text (Kate, KWrite, Dolphin's location bar, ... this is everywhere)
2. Press and hold an arrow key, then press shift while the cursor is running through the text.

OBSERVED RESULT
No text ist selected.

EXPECTED RESULT
All text that the curser ran over while holding the shift should be selected.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed 20230908
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
This is and has always been working fine on X11.
Comment 1 Nate Graham 2023-09-19 18:15:49 UTC
What an interesting thing to do. I've never even thought of doing that! Can confirm though.
Comment 2 Philipp Maierhöfer 2023-09-20 20:01:18 UTC
I find this very useful and it drives me crazy when it's not working. Here is one possible use case: You want to select a couple of lines starting with the one below the cursor. Press and hold the down arrow, then press shift during the key repetition delay. Saves one keypress. :)
Comment 3 Philipp Maierhöfer 2024-06-25 19:24:04 UTC
Fixed in 6.1.