GNOME Bugzilla – Bug 770576
cannot zoom in or out using the mouse on wayland
Last modified: 2016-09-30 05:47:10 UTC
Under the wayland session I get problems with the map view. It manifests like this: * No zoom-in or zoom-out buttons * Cannot drag the map using the pointer * Mouse wheel gives no effect The keyboard shortcuts "-" and "+" works fine. Everything works as it should under the xorg-session.
Try gnome-shell/mutter 3.21.91.
Reportedly fixed in latest versions of gnome-shell/mutter!
Yup! I just finished building master via jhbuild, and works again now!
This issue is still present on wayland for me. Please reopen. Software versions: gnome-shell-3.22.0-1.fc25.x86_64 mutter-3.22.0-1.fc25.x86_64 clutter-1.26.0-1.fc25.x86_64 gnome-maps-3.22.0-1.fc25.x86_64 libchamplain-0.12.14-2.fc25.x86_64 gtk3-3.22.0-1.fc25.x86_64
Can't reproduce here.
Ok, sorry, I was imprecise. Mouse wheel and dnd works fine. The zoom-in and zoom-out buttons are still invisible on wayland backend. Interestingly they can be seen in gnome-shell activities overview.
Ah, I see. Yea, those doesn't seem to be visible. How exactly are the zoom buttons drawn? What GdkWindow are they part of? The only way I can see it work is either 1) they are composited on top of the OpenGL surface (libchamplain surface?) 2) they are placed on another subsurface that is placed on top of the OpenGL surface.
They are overlays on top of the gtkclutterembed widget.
As far as I can see, the gtkclutterembed widget is a subsurface positioned above the main window surface. The overlay is, I assume, painted logically "above" the clutter embed widget, but since that one is a subsurface, the result is still that the overlay is under the clutter embed widget. I'll open a new bug on GTK+ about this (if I can't find an existing one).
Reported bug 772225.