GNOME Bugzilla – Bug 788490
gnome-screenshot Action doesn't work
Last modified: 2021-07-05 14:41:51 UTC
GNOME Shell 3.26.0 Ubuntu 17.10 Beta Ubuntu session (running Wayland) Open the Activities Overview. Right-click on Screenshot. Works ===== Take a Screenshot of the Whole Screen Doesn't Work ============ Take a Screenshot of the Current Window Other Info ========== Both functions work if you open Screenshot and click the buttons in the app. Ubuntu has also patched gnome-screenshot to add a "Take a Screenshot of a Selected Area" action. That doesn't work in GNOME Shell either. (I discovered this issue when I was preparing to submit that patch to GNOME.) I'm filing this bug against gnome-shell because that's how it was triaged in Ubuntu. "gnome-screenshot is calling the gnome-shell dbus api but gnome-shell never writes the screenshot file, seems like having the context menu open makes it fail to take the screenshot or something..."
(In reply to Jeremy Bicha from comment #0) > Doesn't Work > ============ > Take a Screenshot of the Current Window Confirmed on Arch, Gnome 3.26.
I can reproduce the issue, but: - the corresponding keyboard shortcut works (which uses the same D-Bus API), including with the screenshot context menu open - I see the following in the log: Oct 04 16:28:15 priscilla dbus-daemon[1592]: [session uid=1000 pid=1592] Successfully activated service 'org.gnome.Screenshot' Oct 04 16:28:15 priscilla gnome-screensho[20429]: Unable to use GNOME Shell's builtin screenshot interface, resorting to fallback X11. I'm not entirely sure what's going on there, but gnome-screenshot is somehow falling back to X11, which obviously fails on wayland. Reassigning to gnome-screenshot, which seems the likelier source of the issue (provided that gnome-settings-daemon works fine). FWIW, `gapplication action org.gnome.Screenshot window` has the same issue, so it's not related to the overview or search.
I can reproduce the issue, but `gapplication action org.gnome.Screenshot window-shot` works fine here. It would be interesting to understand if this happens in an X11 session...
> "gnome-screensho[20429]: Unable to use GNOME Shell's builtin screenshot interface, resorting to fallback X11." that warning is displayed when the call to org.gnome.Shell.Screenshot returns an error, in that case it looks like the dbus call is correctly issued but the shell fails to take the screenshot/write the file and that what triggers the warning, gnome-screenshot is not actually falling back to use x11 reassigning to gnome-shell because it looks like the screenshoter correctly call the shell dbus interface
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/ Thank you for your understanding and your help.