Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zooming by scroll wheel does not work on Wayland #5998

Open
boardend opened this issue Feb 12, 2025 · 2 comments
Open

Zooming by scroll wheel does not work on Wayland #5998

boardend opened this issue Feb 12, 2025 · 2 comments
Labels
upstream Issue in an upstream library

Comments

@boardend
Copy link
Contributor

boardend commented Feb 12, 2025

On Linux (tested with Ubuntu 22.04) with Wayland the scroll events are not propagated to the WheelHandler in MapCanvas.qml (same for QFieldCamera.qml).

Observations:

  • System wide zoom and fractional zooming (which can cause hiccups in some apps) are not affecting the issue
  • Zooming by pinching on the touch screen works
  • Scrolling in QML-based list and form views works just fine
  • When logging in into a X11 session, scrolling works fine by scroll wheel and also touch screen
  • Handling the wheelEvent in QgsQuickMapCanvasMap with C++ fires also on Wayland

(cc @mohsenD98 )

@nirvn nirvn added the upstream Issue in an upstream library label Feb 12, 2025
@nirvn
Copy link
Member

nirvn commented Feb 12, 2025

@boardend , good to keep track of this; I believe this is a relevant upstream issue: https://bugreports.qt.io/browse/QTBUG-112432

@boardend
Copy link
Contributor Author

boardend commented Feb 12, 2025

Sounds like a tough one and will probably take some time... We could mitigate this on our side, by moving the WheelHandler from MapCanvas.qml to QgsQuickMapCanvasMap (until resolved in Wayland and Qt platform)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream Issue in an upstream library
Projects
None yet
Development

No branches or pull requests

2 participants