Bug 458818

Summary: On Wayland, scrolling on CompactRepresentation to change timer only works when using a mouse wheel, not a touchpad two-finger scroll
Product: [Unmaintained] kdeplasma-addons Reporter: Nate Graham <nate>
Component: timerAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: isma.af, qydwhotmail
Priority: NOR Keywords: regression, wayland-only
Version First Reported In: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nate Graham 2022-09-06 21:08:45 UTC
...But the tooltip still says "Use mouse wheel to change digits". This used to work on the CompactRepresentation but now it only works on the FullRepresentation.
Comment 1 Fushan Wen 2022-09-07 00:26:49 UTC
On desktop or in panel?
Comment 2 Nate Graham 2022-09-07 00:28:10 UTC
Both.
Comment 3 Fushan Wen 2022-09-07 01:04:48 UTC
There is a WheelHandler in CompactRepresentation, and I explicitly tested the wheel when submitting the MR, so it can be a regression in the framework or elsewhere.

https://invent.kde.org/plasma/kdeplasma-addons/-/blob/b0d86c027f3249a0ae4090e00a1d0bab19684923/applets/timer/package/contents/ui/CompactRepresentation.qml#L87
Comment 4 Fushan Wen 2022-09-07 09:30:10 UTC
After updating the whole system today, I  still can't reproduce it.
Comment 5 Nate Graham 2022-09-07 14:38:28 UTC
Oh this is interesting. It seems to work on X11, but it's broken on Wayland.
Comment 6 Nate Graham 2022-09-08 22:13:54 UTC
I found the actual issue: Using a mouse wheel works. But using a touchpad two-finger scroll does not. There must be something wrong with the scroll event handler.

Can you reproduce that?
Comment 7 Fushan Wen 2022-09-08 23:38:39 UTC
Touchpad scrolling also works here
Comment 8 Nate Graham 2022-09-09 18:58:24 UTC
Can confirm that touchpad scrolling works for me on X11.

So the only broken case for me is touchpad scrolling on Wayland
Comment 9 Ismael Asensio 2025-02-07 18:39:31 UTC
(In reply to Nate Graham from comment #8)
> Can confirm that touchpad scrolling works for me on X11.
> 
> So the only broken case for me is touchpad scrolling on Wayland

I cannot reproduce this on Wayland, latest master. Is it still an issue?
Comment 10 Nate Graham 2025-02-07 18:43:39 UTC
Nope, it works fine now!