After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 770576 - cannot zoom in or out using the mouse on wayland
cannot zoom in or out using the mouse on wayland
Status: RESOLVED OBSOLETE
Product: gnome-maps
Classification: Applications
Component: map view
git master
Other Linux
: Normal normal
: ---
Assigned To: gnome-maps-maint
gnome-maps-maint
Depends on:
Blocks:
 
 
Reported: 2016-08-29 19:51 UTC by Andreas Nilsson
Modified: 2016-09-30 05:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas Nilsson 2016-08-29 19:51:46 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.
Comment 1 Jonas Ådahl 2016-08-31 04:47:01 UTC
Try gnome-shell/mutter 3.21.91.
Comment 2 Jonas Danielsson 2016-08-31 11:16:28 UTC
Reportedly fixed in latest versions of gnome-shell/mutter!
Comment 3 Andreas Nilsson 2016-08-31 11:43:05 UTC
Yup! I just finished building master via jhbuild, and works again now!
Comment 4 Christian Stadelmann 2016-09-28 10:32:04 UTC
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
Comment 5 Jonas Ådahl 2016-09-29 14:23:11 UTC
Can't reproduce here.
Comment 6 Christian Stadelmann 2016-09-29 20:04:03 UTC
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.
Comment 7 Jonas Ådahl 2016-09-30 01:47:26 UTC
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.
Comment 8 Jonas Danielsson 2016-09-30 04:31:14 UTC
They are overlays on top of the gtkclutterembed widget.
Comment 9 Jonas Ådahl 2016-09-30 05:37:55 UTC
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).
Comment 10 Jonas Ådahl 2016-09-30 05:47:10 UTC
Reported bug 772225.