GNOME Bugzilla – Bug 761737
Shutter does not work on Wayland
Last modified: 2016-02-08 23:54:43 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.
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.
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.