Bug 155422 - Scrolling in Heading style widget on Kde Wayland skips elements
Summary: Scrolling in Heading style widget on Kde Wayland skips elements
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.0.0 alpha1+
Hardware: All Linux (All)
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: implementationError
Depends on:
Blocks: Notebookbar-Tabbed Styles-Preview
  Show dependency treegraph
 
Reported: 2023-05-20 16:31 UTC by iodreamify
Modified: 2025-04-08 06:22 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
video (4.02 MB, video/webm)
2023-05-20 16:32 UTC, iodreamify
Details

Note You need to log in before you can comment on or make changes to this bug.
Description iodreamify 2023-05-20 16:31:15 UTC
Description:
Scrolling with the mouse in the heading style chooser widget skips at least one row of available styles. If i use the keyboard arrows it select the next element, as it should be(but still jumps around confusingly). 

I also can't drag the scrollbar with the mouse at all. 

As a result i can't select any of the styles which come 
immediately after heading 1

There is also a tiny target directly above and below the scrollbar where you can click to scroll by 1 pixel, like an invisible arrow.

Launching Libreoffice with 

SAL_USE_VCLPLUGIN=gtk3 libreoffice 
or
SAL_USE_VCLPLUGIN=gtk4 libreoffice

the scrolling works just fine and is much smoother.

-I've attached a small video demo. In the video i first scroll with the mouse wheel, then i try to drag the scrollbar and then i use the keyboard arrows. 

Issue is also the same on x11.


System info: 
Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Graphics Platform: Wayland

Steps to Reproduce:
1.Open Libreoffice writer with the Tabbed interface
2.Try to scroll in the Heading style chooser 
3.Try to drag the scrollbar 

Actual Results:
The scroll jumps too much and skips entire rows

Expected Results:
The scroll works smoothly


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.5.3.2 (X86_64)
Build ID: 50(Build:2)
CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+wayland)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 iodreamify 2023-05-20 16:32:22 UTC
Created attachment 187411 [details]
video
Comment 2 Stéphane Guillou (stragu) 2023-05-22 14:19:58 UTC
reproduced in:

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: f4c24da1e7f11664e0d2f688d2531f068e4a3bc0
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Also in 7.2.7.2.

See also bug 153521, which is about using the scrollbar with the same VCLs.
Comment 3 Stéphane Guillou (stragu) 2023-10-04 11:44:18 UTC
Reproduced with the following gen VCL plugins:
- qt5 (qfont+xcb)
- qt5 (qfont+wayland)
- kf5 (cairo+wayland)
- kf5 (cairo+xcb)
- gen

... (but not with gtk3) since libreoffice-7.2.0.0.alpha1.
Comment 4 LauraKuhlman 2025-04-08 06:22:47 UTC
Experiencing frustrating scroll skips in KDE Wayland? You're not alone. Navigating feels like a glitchy Sprunki game sometimes, doesn't it? This bug affects the Heading style widget, making element selection cumbersome. Hopefully, developers will address this low importance issue soon. Perhaps playing the Sprunki game could offer a less frustrating alternative while we wait.
https://sprunkii.io