Increase a scrolling speed for Math items in Element Pane
Steps to Reproduce:
1. Open Math
2. Open Element Pane
3. Select Operators category
4. Try scroll the list of the items below using a mouse wheel => it's so slow
Scrolling in Element pane is so slow
Scrolling in Element pane is fast
User Profile Reset: No
Version: 188.8.131.52.alpha0+ (x64) / LibreOffice Community
Build ID: 3a05acb8f0d94728ea6cbfd7a69dac6ffa7ffc68
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Repro on Windows; no repro on Ubuntu with gtk3.
Caolan: since there's a normal scrolling speed on gtk3, and there's no code in starmath/source/ElementsDockingWindow.cxx calling *adjustment_set_step_increment, I assume there's some magic somewhere setting sensible defaults - likely integration-dependent. Thus, it would seem hackish to add some manual override in the SmElementsControl itself to fix that - it would be likely desirable instead to make some fix at the respective code setting the default.
Do you know where it's defined (in gtk3 and/or in other integrations)?
(In reply to Mike Kaganski from comment #2)
On the other hand, the scrolling speed is usually (?) determined by a system setting defining how many *lines* are scrolled at each wheel step. And only this owner-draw control itself may know how tall its line is.
Let me create a fix then.
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":
tdf#148819: let the scroller know the custom widget's line size
It will be available in 7.4.0.
The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.