Bug 486194 - Text scrolling with mouse selection doesn't work on X11
Summary: Text scrolling with mouse selection doesn't work on X11
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: kwrite (show other bugs)
Version: 24.02.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-27 11:30 UTC by mozo
Modified: 2024-08-07 08:56 UTC (History)
2 users (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 mozo 2024-04-27 11:30:32 UTC
SUMMARY
I'm don't shure how to describe the problem in English but when one selects a text which is more than one page and push the mouse to the bottom or up, the text should scroll to the end if the mouse is pushed at bottom and to the beggining uf the mouse is pushed up. This is working ok on Wayland but not on X11. It's a dealbreaker if one works a lot with text every day like me.

STEPS TO REPRODUCE
1. Select text and push the mouse doen to scrol towards the end of text.

OBSERVED RESULT
The text doesn't scroll at all. It stuck on the visible frame of kwrite and doesn't continue down.

EXPECTED RESULT
The text should scroll at text selection and mouse movement either up or down.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.7-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 32 × Intel® Core™ i9-14900KF
Memory: 62.6 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4090/PCIe/SSE2
Manufacturer: ASUS
Comment 1 mozo 2024-04-27 13:28:45 UTC
It crossed my mind how to describe it - edge scrolling when a text is selected.
Comment 2 mozo 2024-04-27 14:34:03 UTC
One thing I just realized - it's working if you go down and then up and again go down and again go up, etc., but it's slow. It doesn't work in one take down as it should and as it's working on Wayland and in Plasma 5.
Comment 3 mozo 2024-04-27 14:52:20 UTC
I just realized what the problem is - when the mouse left the Kate/Kwrite borders, it stops to drag the text but it shouldn't.  It's working correctly with Wayland and Plasma 5 X11 and Wayland and there if the mouse is out of the Kate/Kwrite borders but the left mouse button is pressed, it continues to drag the text as it should be and as it's how it is on every other text editor.
Comment 4 mozo 2024-04-28 11:21:40 UTC
I decided to try different Kate/Kwrite versions and the problem is there only with the newest 24.02.2. All previous versions are working fine.
Comment 5 mozo 2024-04-28 11:43:16 UTC
Hmm, it's not for the version. When I commit a downgrade with different versions for kate and kwrite and the system asks me to remove kate because of the versions incompatibilty, text scrolling is working fine no matter the version. If I don't remove kate during the downgrade process, the bug is there. For now I'll use kwrite only for this bug is real stopper for me.
Comment 6 mozo 2024-04-29 08:38:17 UTC
Here's a vide of the WORKING state and how it should be and how it was the last 20-30 years:
https://i.imgur.com/IPJzMfU.gif
Now the scrolling stops as soos as the cursor left the text editor boundaries and this shoud be fixed.
Comment 7 Petar Nedyalkov 2024-04-29 12:05:07 UTC
The same issue occurs in my configuration:

Operating System: Arch Linux 
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.7-arch1-2 (64-bit)
Graphics Platform: X11
Dolphin version: 24.02.2
Comment 8 mozo 2024-06-01 09:59:01 UTC
Now I decided to try different text editors. The editors I tried were tea-qt, xed, pluma, emacs, sublime text, vim, atom, geany, leafpad, gnome-text editor, helix, libreOffice Writer, OnlyOffice, WPS Office, code, gedit, bluefish, even Notepad++. There's no problem at all with all the editors but with kate/kwrite.
Comment 9 cprog 2024-06-01 23:00:05 UTC
I can confirm, 

Operating System: Arch Linux 
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.9.2-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 125.7 GiB of RAM
Graphics Processor: AMD Radeon RX 6500 XT
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7D54
System Version: 1.0
Comment 10 mozo 2024-07-20 09:05:16 UTC
Plasma 6.1.3 - there's no difference.
Comment 11 mozo 2024-08-07 08:56:09 UTC
The problem is fixes.