Bug 477431 - Slightly jumpy scrolling when scrolling through sidebar by slowly dragging the scroll handle
Summary: Slightly jumpy scrolling when scrolling through sidebar by slowly dragging th...
Status: REOPENED
Alias: None
Product: systemsettings
Classification: Applications
Component: sidebarview (show other bugs)
Version: 5.27.80
Platform: Neon Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-11-23 18:13 UTC by Jan Rathmann
Modified: 2025-01-04 15:51 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0
Sentry Crash Report:


Attachments
Video of the glitches (999.81 KB, video/webm)
2023-11-27 11:17 UTC, Jan Rathmann
Details
The scroll glitch in setting pages (1.04 MB, video/webm)
2025-01-04 15:40 UTC, Dimitri
Details
Scroll bar changing size (1.21 MB, video/webm)
2025-01-04 15:51 UTC, Dimitri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Rathmann 2023-11-23 18:13:10 UTC
STEPS TO REPRODUCE
1. Open Systemsettings.
2. Grab the scrollbar of the category list with your mouse (keep left button pressed).
3. Move slowly up or down.

OBSERVED RESULT
The category items "jump" up and down a tiny bit while scrolling, which looks a bit glitchy.

EXPECTED RESULT
No glitches during scrolling.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.81
KDE Frameworks Version: 5.245
Qt Version: 6.6.0

ADDITIONAL INFORMATION
Best visible when running on real HW, but I see it also in a VM.
Tested under Neon Unstable and openSuse Krypton live image.
Comment 1 Jan Rathmann 2023-11-23 18:13:39 UTC
Seems independent of running Wayland or X11.
Comment 2 Nate Graham 2023-11-26 19:25:00 UTC
Cannot reproduce on bare metal and Wayland. Can you attach a screen recording that shows the issue?
Comment 3 Jan Rathmann 2023-11-27 11:17:41 UTC
Created attachment 163536 [details]
Video of the glitches

Ok, added a screencast showing the glitches.

I forgot to mention, this is something new in Plasma 6 (the animation looks fine in Plasma 5).
Comment 4 Nate Graham 2023-11-29 18:11:01 UTC
Ah, can reproduce now after seeing how slow you're dragging the scrollbar.

I wonder if this is an issue with the new smooth scrolling code in WheelHandler. Will investigate.
Comment 5 Fushan Wen 2024-01-06 14:06:58 UTC
This is likely related to the new separator style.
Comment 6 Nate Graham 2024-01-18 00:10:30 UTC
Cannot reproduce anymore with either 200% or 225% scale. Some patches went in to better pixel-align things, so I suspect they fixed it!
Comment 7 Jan Rathmann 2024-01-18 07:53:46 UTC
(In reply to Nate Graham from comment #6)
> Cannot reproduce anymore with either 200% or 225% scale. Some patches went
> in to better pixel-align things, so I suspect they fixed it!

Strange, can still reproduce it – in a VM (Neon Unstable) and on bare HW (self-build Plasma 6.0).
Changing scale to 200% doesn't make a difference for me (my default is 100%).
Using a different mouse doesn't change anything either.
Comment 8 Dimitri 2025-01-04 15:40:49 UTC
Created attachment 177107 [details]
The scroll glitch in setting pages

The bug is not restricted to the side view, it is also present in scrolling of some setting pages, like the one with all the animations.
I am also thinking that the bug is related to the section separator, and probably because the bar doesn't take it into account correctly.

SystemSettings : 6.2.4
Operating System: KDE neon 6.2
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.8.0-51-generic (64-bit)
Graphics Platform: Wayland
Comment 9 Dimitri 2025-01-04 15:51:31 UTC
Created attachment 177108 [details]
Scroll bar changing size

The bug has a reverse version : when you scroll without using the scrollbar, the scrollbar changes size many times during scrolling.
I am sure it is a second manifestation of the same bug.