Bug 305095

Summary: mouse wheel scrolling problems with dynamic word wrap activated
Product: [Applications] kate Reporter: giuseppegallone
Component: partAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: major CC: aldo-public, simgunz
Priority: NOR    
Version: SVN   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description giuseppegallone 2012-08-13 16:37:22 UTC
Let's say I have written a paragraph which gets split by dynamic word wrap in  22 lines (given my screen aspect ratio). The cursor is at the end of the 22nd line. 

I then decide to scroll up a bit to check something I wrote in line 13 of the paragraph, using the mouse wheel. But that is impossible, because the scrolling jumps up all the 22 lines, to the beginning of the paragraph.

Every 1 movement of the mouse wheel will not go line by line (as is the case with the arrow keys) but will jump back and forth in the document by a quantity equal to the number of lines used by dynamic word wrap to split a paragraph.

This is terribily confusing. Can it be addressed? 

Reproducible: Always
Comment 1 Michel Ludwig 2012-08-14 18:11:19 UTC
Forwarding to KatePart.
Comment 2 Dominik Haumann 2012-08-15 06:17:19 UTC
Giuseppe: Which KDE Version are you using?

I've fixed that some time ago... Can you please follow http://kate-editor.org/get-it and then start kile with:
./run.sh kile

Then Kile will use the new editor component. But be warned, lines that are > 1024 columns are currently hard wrapped now. So your line that spans 22 dynamic lines will wrap into several lines automatically. Still, can you confirm, that the scrolling issue is gone then?
Comment 3 giuseppegallone 2012-08-15 13:59:38 UTC
Hello Dominik, thanks for replying. I'm using Linux Mint 11 with Gnome.

KDE Platform version is 4.6.5 and the precompiled Kile version is 2.0.85.

I will build kate from sources as you suggest and report back.
Comment 4 Simone Gaiarin 2018-04-18 14:53:34 UTC

*** This bug has been marked as a duplicate of bug 231616 ***
Comment 5 Aldoo 2018-05-30 09:21:50 UTC
Maybe the bug is back, but current version of Kate (17.12.2, Neon packages) has this problem.

I have been experiencing this for a few months, but I don't remember having had this issue ever before (in particular not in 2012, with KDE 4).

Should this bug be reopened, or should a brand new ticket be created ?
Comment 6 Aldoo 2018-05-30 09:24:44 UTC
Sorry for the noise. There is already an open ticket: this is Bug 256561 (created in 2010 though... )