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 788490 - gnome-screenshot Action doesn't work
gnome-screenshot Action doesn't work
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: general
3.26.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2017-10-04 02:14 UTC by Jeremy Bicha
Modified: 2021-07-05 14:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeremy Bicha 2017-10-04 02:14:06 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..."
Comment 1 Strangiato 2017-10-04 14:10:45 UTC
(In reply to Jeremy Bicha from comment #0)
 
> Doesn't Work
> ============
> Take a Screenshot of the Current Window

Confirmed on Arch, Gnome 3.26.
Comment 2 Florian Müllner 2017-10-04 14:41:24 UTC
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.
Comment 3 Cosimo Cecchi 2017-10-04 18:49:31 UTC
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...
Comment 4 Sebastien Bacher 2017-10-11 14:15:15 UTC
> "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
Comment 5 GNOME Infrastructure Team 2021-07-05 14:41:51 UTC
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.