Skip to content

Conversation

ids1024
Copy link
Member

@ids1024 ids1024 commented Oct 2, 2025

  • Should test != 0, not > 0; can scroll in either direction
  • Test both vertical and horizontal
  • Use value120 scroll if present (in which case, discrete is 0)

I guess events should really have both line and pixel scroll, since some widgets want to use the pixel scroll values for input devices that have both? But I guess winit and Iced both need to be changed for that...

- Should test `!= 0`, not `> 0`; can scroll in either direction
- Test both vertical and horizontal
- Use `value120` scroll if present (in which case, discrete is 0)

I guess events should really have both line and pixel scroll, since some
widgets want to use the pixel scroll values for input devices that have
both? But I guess winit and Iced both need to be changed for that...
ids1024 added a commit to pop-os/cosmic-workspaces-epoch that referenced this pull request Oct 7, 2025
Combined with pop-os/iced#244, discrete value120
scrolling works better.
@ids1024
Copy link
Member Author

ids1024 commented Oct 8, 2025

winit needed a similar change in rust-windowing/winit#4372; but with that, this is just bringing the Wayland code here to parity with winit. So this should be good.

@ids1024 ids1024 marked this pull request as ready for review October 8, 2025 22:45
@ids1024 ids1024 requested a review from a team October 8, 2025 22:45
@ids1024 ids1024 merged commit 8cbf2b7 into master Oct 9, 2025
4 of 32 checks passed
@ids1024 ids1024 deleted the line-scroll branch October 9, 2025 01:52
ids1024 added a commit to pop-os/libcosmic that referenced this pull request Oct 9, 2025
Update iced with pop-os/iced#244.
ids1024 added a commit to pop-os/libcosmic that referenced this pull request Oct 9, 2025
Update iced with pop-os/iced#244.
ids1024 added a commit to pop-os/cosmic-workspaces-epoch that referenced this pull request Oct 9, 2025
Combined with pop-os/iced#244, discrete value120
scrolling works better.
ids1024 added a commit to pop-os/cosmic-workspaces-epoch that referenced this pull request Oct 9, 2025
Combined with pop-os/iced#244, discrete value120
scrolling works better.
ids1024 added a commit to pop-os/cosmic-workspaces-epoch that referenced this pull request Oct 13, 2025
Combined with pop-os/iced#244, discrete value120
scrolling works better.
ids1024 added a commit to pop-os/cosmic-workspaces-epoch that referenced this pull request Oct 13, 2025
Combined with pop-os/iced#244, discrete value120
scrolling works better.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants