Bug 412916 - It is impossible to select the first character on a line on Wayland
Summary: It is impossible to select the first character on a line on Wayland
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: copy-paste (show other bugs)
Version: 19.08.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-13 17:52 UTC by jm.ouwerkerk
Modified: 2020-11-03 21:19 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 jm.ouwerkerk 2019-10-13 17:52:48 UTC
SUMMARY

It is effectively impossible to select the first character of a line of output on Wayland. That is: try to highlight one entire line of output or its first word is effectively impossible. Text selection begins exactly one character after the cursor position (visually).


STEPS TO REPRODUCE
1. Generate some output
2. Try to select the first word/first line of that output without covering the previous line
3. Observe the fail.

OBSERVED RESULT


EXPECTED RESULT

This should "just work".

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Debian unstable
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION

On Wayland, using a trackpad. 

The problem is really that text selection does not start *at* the position of the cursor (as visually indicated by the tip of the arrow), but rather requires the cursor to be one character to the *left* of whatever character the selection range will start at. 

The problem is compounded by thin window borders, meaning that there is no valid position left of the first character which you can point the cursor at. So it becomes effectively impossible to select the first character of a line.
Comment 1 Justin Zobel 2020-11-03 03:59:09 UTC
I've tried this on konsole from git master and cannot reproduce.

Can you please retest and confirm if this is still an issue, thanks.
Comment 2 jm.ouwerkerk 2020-11-03 18:44:54 UTC
No I could not reproduce this either anymore

Additional info:

Konsole Version 20.08.0
KDE Frameworks 5.74.0
Qt 5.15.1 (built against 5.15.1)