gnome-screenshot Actions don't work in Wayland

Bug #1720262 reported by Jeremy Bícha
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
GNOME Shell
Confirmed
Medium
gnome-screenshot (Ubuntu)
Fix Released
Low
Jeremy Bícha
Artful
Fix Released
Low
Jeremy Bícha
gnome-shell (Ubuntu)
Won't Fix
Low
Jeremy Bícha

Bug Description

Ubuntu 17.10 Beta
Ubuntu session (Wayland)

Open the Activities Overview.
Right-click on Screenshot.

2 of the 3 extra desktop actions don't work.

Works
=====
Take a Screenshot of the Whole Screen

Doesn't Work
============
Take a Screenshot of the Current Window
Take a Screenshot of a Selected Area

Other Info
==========
All 3 functions work if you open Screenshot and click the buttons in the app.

The Current Window action is upstream, but Selected Area is an Ubuntu patch.

Tags: artful
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

affects: gnome-screenshot (Ubuntu) → gnome-shell (Ubuntu)
Changed in gnome-shell (Ubuntu):
importance: Undecided → Low
Revision history for this message
Sebastien Bacher (seb128) wrote :

we debugged that a bit with Didier on IRC some weeks ago, 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...

Jeremy Bícha (jbicha)
Changed in gnome-shell (Ubuntu):
assignee: nobody → Jeremy Bicha (jbicha)
tags: removed: rls-aa-incoming
Changed in gnome-screenshot (Ubuntu Artful):
importance: Undecided → Low
status: New → Triaged
Changed in gnome-shell (Ubuntu Artful):
status: New → Confirmed
Changed in gnome-screenshot (Ubuntu Artful):
assignee: nobody → Jeremy Bicha (jbicha)
Jeremy Bícha (jbicha)
Changed in gnome-shell (Ubuntu Artful):
status: Confirmed → Triaged
Changed in gnome-shell:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Jan Adamic (adamitsch) wrote :

Make sure you don't hold Ctrl key, as it saves screenshot in clipboard.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It's worth repeating: To take a screenshot you don't need to click on anything or to run "Screenshot". Just press your 'PrtScn' key at any time and an image file will appear in your Pictures directory, or home directory.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

This likely will not be fixed before Ubuntu 17.10 is released, but once it is fixed, it will make a good Stable Release Update candidate.

I considered disabling the broken Actions from the .desktop as a workaround, but I think that could cause translation problems when the bug is actually fixed.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

We decided to go ahead and disable the broken actions for Ubuntu 17.10.

1 of the 3 Actions is Ubuntu-specific and wasn't translated anyway because of an issue we're having with packages using meson.

By dropping the unused actions from the Actions line but otherwise leaving them in the .desktop, this won't hurt translations if we fix the bug properly later. (I did have to log out and log back in for the obsolete Actions to disappear.)

no longer affects: gnome-shell (Ubuntu Artful)
Changed in gnome-screenshot (Ubuntu Artful):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-screenshot - 3.25.0-0ubuntu2

---------------
gnome-screenshot (3.25.0-0ubuntu2) artful; urgency=medium

  * Modify update_unity_list.patch:
    - Disable the Current Window and Selected Area .desktop Actions
      since they don't work in the default Ubuntu desktop (LP: #1720262)

 -- Jeremy Bicha <email address hidden> Thu, 12 Oct 2017 10:34:07 -0400

Changed in gnome-screenshot (Ubuntu Artful):
status: Fix Committed → Fix Released
Revision history for this message
winux (g-vaquant) wrote : Re: [Bug 1720262] Re: gnome-screenshot Actions don't work in default Ubuntu 17.10 session

Ah ???!!!

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Garanti
sans virus. www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Gérard VAQUANT

2017-10-12 19:16 GMT+02:00 Launchpad Bug Tracker <<email address hidden>
>:

> This bug was fixed in the package gnome-screenshot - 3.25.0-0ubuntu2
>
> ---------------
> gnome-screenshot (3.25.0-0ubuntu2) artful; urgency=medium
>
> * Modify update_unity_list.patch:
> - Disable the Current Window and Selected Area .desktop Actions
> since they don't work in the default Ubuntu desktop (LP: #1720262)
>
> -- Jeremy Bicha <email address hidden> Thu, 12 Oct 2017 10:34:07 -0400
>
> ** Changed in: gnome-screenshot (Ubuntu Artful)
> Status: Fix Committed => Fix Released
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1715989).
> https://bugs.launchpad.net/bugs/1720262
>
> Title:
> gnome-screenshot Actions don't work in default Ubuntu 17.10 session
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gnome-shell/+bug/1720262/+subscriptions
>

Revision history for this message
Khurshid Alam (khurshid-alam) wrote : Re: gnome-screenshot Actions don't work in default Ubuntu 17.10 session

They work fine on Unity. it's a wayland problem. But why deny xorg users because of that?

Revision history for this message
Sebastien Bacher (seb128) wrote :

There is no easy way to have those actions filtered out for GNOME/wayland only...

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for reporting this bug to Ubuntu.
Ubuntu 17.10 (artful) reached end-of-life on July 19, 2018.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in and change the bug status to Confirmed.

Changed in gnome-shell (Ubuntu):
status: Triaged → Incomplete
Changed in gnome-shell (Ubuntu):
status: Incomplete → Won't Fix
Revision history for this message
Futó Tamás (futa86) wrote :

The above mentioned two buggy features (Take a Screenshot of the Current Window and Take a Screenshot of a Selected Area) are still disabled via the /usr/share/applications/org.gnome.Screenshot.desktop file in Ubuntu 18.04.3 LTS which is a supported version right now.
Actually the commented out actions have a link in comments to this issue which led me here.

I've tried enabling back these actions (then log out, then login). Then the actions appeared on right clicking on the Screenshot icon but these features still doesn't work. I can see on the mouse pointer that something should happen (it changes to loading indicator), but finally nothing will happen, I can't get the screenshot.

Jeremy Bícha (jbicha)
summary: - gnome-screenshot Actions don't work in default Ubuntu 17.10 session
+ gnome-screenshot Actions don't work in Wayland
Revision history for this message
T. Häny (thaeny) wrote :

Still in Ubuntu 19.10 the two actions (Take a Screenshot of the Current Window and Take a Screenshot of a Selected Area) are still disabled.

In which Ubuntu-Version this will be fixed?

Revision history for this message
Alexandr Granin (graninas) wrote :

Ubuntu 20.04, I enabled two missing actions to have them in the context menu of the app in dock.

- "Current window" captures only one of my displays irrespective the display I'm clicking the dock on. It captures not the current primary display even.
- "Selected area" doesn't do anything from dock.

When I run the app gui, all the options work as expected, except that "area" option sometimes refuses to save a screen and falls back to the main window (instead of saving file window). I guess some delay is happening there which prevents the window to work properly.

I'd like this bug to be fixed somehow. It worked very nicely in Unity in 16.04.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This bug is already fixed and closed.

Please report any remaining issues by running:

  ubuntu-bug gnome-shell

Revision history for this message
Coeur Noir (coeur-noir) wrote :

Hi,

Ubuntu Budgie 20.04 here - so no wayland and no gnome-shell.

Desktop Actions are still broken in gnome-screenshot.

If re-enable

Actions=screen-shot;window-shot;area-shot

area-shot has then no effect.

Other two seem ok but I was unable to modify options ( -p -d or else )
as seen in gnome-screenshot --help

Seems like it always want to act as soon as clicked - hence maybe why the area-shot can't work ?

New ( ? ) issue → https://bugs.launchpad.net/ubuntu/+source/gnome-screenshot/+bug/1916666

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.