Bug 455600 - Multiple lines are not correctly selected from the last line by pressing the line number when text wrap is enabled
Summary: Multiple lines are not correctly selected from the last line by pressing the ...
Status: REPORTED
Alias: None
Product: frameworks-ktexteditor
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-19 10:30 UTC by Fushan Wen
Modified: 2022-06-19 10:30 UTC (History)
0 users

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


Attachments
observed.mp4 (1.81 MB, video/mp4)
2022-06-19 10:30 UTC, Fushan Wen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fushan Wen 2022-06-19 10:30:35 UTC
Created attachment 149922 [details]
observed.mp4

SUMMARY
If I have two lines of long text that are wrapped to show in two lines, and text wrap is enabled, when I try to select text from the last line to the first line by pressing the line number, the last line is not fully selected.


STEPS TO REPRODUCE
1. Type two long lines in Kate/KWrite
2. Make sure Text Wrap is enabled and the two lines are wrapped.
3. Select from the last line.

OBSERVED RESULT
observed.mp4

EXPECTED RESULT
Two lines are selected.

SOFTWARE/OS VERSIONS
Information for package ktexteditor:
------------------------------------
Repository     : @System
Name           : ktexteditor
Version        : 5.95.0git.20220618T102210~994e846-ku.14.1
Arch           : x86_64
Vendor         : obs://build.opensuse.org/KDE:Unstable
Installed Size : 3.6 MiB
Installed      : Yes
Status         : up-to-date
Source package : ktexteditor-5.95.0git.20220618T102210~994e846-ku.14.1.src
Upstream URL   : https://www.kde.org
Summary        : Embeddable text editor component