Bug 419076 - Selection scrolling from line border works only downwards
Summary: Selection scrolling from line border works only downwards
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: part (other bugs)
Version First Reported In: Git
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-21 15:38 UTC by Laura David Hurka
Modified: 2022-01-20 20:17 UTC (History)
1 user (show)

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


Attachments
Selection scrolling from line number border, works only downwards (443.81 KB, video/x-matroska)
2020-03-21 15:38 UTC, Laura David Hurka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laura David Hurka 2020-03-21 15:38:51 UTC
Created attachment 126928 [details]
Selection scrolling from line number border, works only downwards

SUMMARY
Often one wants to select a bunch of whole lines, more than fit on the viewport. To do that, it is convenient to use the line number border, because it selects whole lines. When dragging the cursor outside the viewport, the view automatically scrolls. But when using the line number border, this works only downwards.

STEPS TO REPRODUCE
1. Open a long text file
2. Select lines using the line number border
3. Move the cursor up and down to trigger automatic scrolling

OBSERVED RESULT
Scrolls only downwards

EXPECTED RESULT
Should scroll upwards and downwards

SOFTWARE/OS VERSIONS
KDE Neon 5.18
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION
Bug exists in Kate and KWrite, not in KDevelop
Comment 1 Justin Zobel 2020-10-27 09:29:05 UTC
Confirmed on git master.
Comment 2 Bug Janitor Service 2022-01-19 16:37:07 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/261
Comment 3 Christoph Cullmann 2022-01-20 20:17:04 UTC
Git commit adea05988c11d7e2ebd3545a5d646fb251787727 by Christoph Cullmann, on behalf of Waqar Ahmed.
Committed on 20/01/2022 at 20:11.
Pushed by cullmann into branch 'master'.

Fix selection scrolling from line border works only downwards

M  +6    -0    src/view/kateviewinternal.cpp

https://invent.kde.org/frameworks/ktexteditor/commit/adea05988c11d7e2ebd3545a5d646fb251787727