Created attachment 179926 [details] Video showing the problem in LO 7.3 In the tabbed interface we have a Styles List showing all the available styles alongside a quick preview. Using kf5 the scroll step using the mouse wheel is not calibrated correctly. Scrolling the smallest amount will cause the list to move down excessively. See the attached video for more details. First I use the mouse wheel and scroll down the smallest amount I can, however the view is moved far beyond expected. Dragging the vertical scrollbar reveals that there are many more entries that are not shown when using the mouse wheel. From my testing, this problem only happens in kf5. Using gtk3 makes the problem go away, so it seems to be a kf5-specific issue. System info: Version: 7.3.2.2 / LibreOffice Community Build ID: 30(Build:2) CPU threads: 12; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb) Locale: pt-BR (pt_BR.UTF-8); UI: pt-BR Ubuntu package version: 1:7.3.2~rc2-0ubuntu0.21.10.1~lo1 Calc: threaded
Created attachment 180223 [details] Video showing the bug in LO 7.4 In Comment #1 I described how the problem happens in LO 7.3. However, after doing some testing with LO 7.4 from master, I noticed that a different problem is happening. See attached video for more details. In summary, in 7.4 the scrolling issue is gone. However, after I use mouse scroll the vertical scrollbar stops responding. In this new video I start by using the mouse scroll and everything is fine. Then, when I try to use the vertical scrollbar, it moves to the top and no longer responds to the mouse. System info: Version: 7.4.0.0.alpha1+ / LibreOffice Community Build ID: ad6905f9a09c63712ba0aaffc700923246d21e55 CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb) Locale: pt-BR (pt_BR.UTF-8); UI: en-US Calc: CL
FYI, it's always recommended to compare with gen when testing qt or kf5 VCL plugins. gtk3 uses a different theming engine with native widgets, while qt (which kf5 uses) just "themes / styles" LO's own widgets. If gen works and qt not, it's likely a qt problem, if gen and qt show the same behavior, it's a more general LO bug, likely affecting all non-gtk3 VCL plugins.
Created attachment 180373 [details] Screenshot using "gen" (In reply to Jan-Marek Glogowski from comment #2) > FYI, it's always recommended to compare with gen when testing qt or kf5 VCL > plugins. gtk3 uses a different theming engine with native widgets, while qt > (which kf5 uses) just "themes / styles" LO's own widgets. If gen works and > qt not, it's likely a qt problem, if gen and qt show the same behavior, it's > a more general LO bug, likely affecting all non-gtk3 VCL plugins. Hi Jan-Marek, thanks for the tip. I tested under "gen" and indeed the problem is not kf5-specific, since it's also reproducible with gen. Actually with "gen" I could notice that the reason why the scrollbar cannot be dragged in 7.4 is because it receives an incorrect size. See attached video.
That widget has multiple problems. I just linked