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 761737 - Shutter does not work on Wayland
Shutter does not work on Wayland
Status: RESOLVED NOTGNOME
Product: gtk+
Classification: Platform
Component: Backend: Wayland
3.18.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2016-02-08 23:37 UTC by Steven Stern
Modified: 2016-02-08 23:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Steven Stern 2016-02-08 23:37:40 UTC
see https://bugzilla.redhat.com/show_bug.cgi?id=1299293

Attempting to use shutter to do a screen capture fills the screen with garbage and locks up Gnome.
Comment 1 Emmanuele Bassi (:ebassi) 2016-02-08 23:51:11 UTC
Considering that Shutter is trying to use the X11 API, I'm wondering why you thought it would work, or why you think GTK+ has anything to do with it.

Wayland is fundamentally different than X11. You cannot grab the root window; you cannot walk the tree of windows; and, in general, any process can only access the contents of the windows it created.

You should ask the Shutter developers to fix their application to work under Wayland; sadly there is no common protocol to ask the Wayland compositor to provide a screenshot. GNOME Shell has a DBus interface described here:

https://git.gnome.org/browse/gnome-shell/tree/data/org.gnome.Shell.Screenshot.xml

I'm pretty sure KWin has a similar interface.
Comment 2 Steven Stern 2016-02-08 23:54:43 UTC
following the advice here, to report things that work in X11 but don't work in Gnome, I reported it here and on the redhat bugzilla.

https://fedoramagazine.org/help-fedora-test-wayland/

So, OK. I now know where to stick my bug report. Thanks.