Ticket #15527 (closed defect: fixed)
In wxGTK mousewheel scroll is now excessively vigorous
|Reported by:||dghart||Owned by:|
|Keywords:||Mousewheel scroll GetLinesPerAction||Cc:|
wxMouseEvent::GetLinesPerAction used to return 3, the figure documented as most likely. In 53f1a5b (r74805) this was increased to be a figure depending on a power of the page-size. As a result the figure has become either greater or much greater, and mousewheel scroll much jerkier. For example, here the stc sample initially shows 33 lines of text, and a single wheel-action scrolls 10 of these. When the sample is maximised, the figures become 65 and 16.
A comment in the commit says "Compute lines/columns per action the same way as private GTK+ function". For me, gedit with the same file and page-sizes scrolls 4 and 7 lines; geany does 4 for any size. Less relevantly, kwrite scrolls 3.
I find gedit's 7 lines per action to be excessive, but I could live with it. However 16 is far too many; I lose track of the line I was focusing on. Regardless of whatever is considered best gtk2 practice, I feel that this change should be at least de-powered, and preferably reverted.