| Summary: | Increase a scrolling speed for Math items in Element Pane | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Roman Kuznetsov <79045_79045> |
| Component: | UI | Assignee: | Mike Kaganski <mikekaganski> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | 79045_79045, caolan.mcnamara |
| Priority: | medium | ||
| Version: | 7.4.0.0 alpha0+ | ||
| Hardware: | All | ||
| OS: | Windows (All) | ||
| Whiteboard: | target:7.4.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 108075 | ||
|
Description
Roman Kuznetsov
2022-04-27 12:11:41 UTC
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)? Thank you! (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": https://git.libreoffice.org/core/commit/8de60b9049f07d8a958d0e28759dca247c4d5044 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: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. |