Bug 458818 - On Wayland, scrolling on CompactRepresentation to change timer only works when using a mouse wheel, not a touchpad two-finger scroll
Summary: On Wayland, scrolling on CompactRepresentation to change timer only works whe...
Status: RESOLVED FIXED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: timer (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: regression, wayland-only
Depends on:
Blocks:
 
Reported: 2022-09-06 21:08 UTC by Nate Graham
Modified: 2025-02-07 18:43 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!