Quicklist menu action doesn't respect global delay (Zesty)

Bug #1606974 reported by Khurshid Alam
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
New
Undecided
Unassigned
Nominated for Continuous by Khurshid Alam
gnome-screenshot (Ubuntu)
Incomplete
Low
Unassigned

Bug Description

It doesn't respect global delay. The reason is that it using following commands for quicklist actions in /usr/share/applications/org.gnome.Screenshot.desktop:

[Desktop Action screen-shot]
Name=Take a Screenshot of the Whole Screen
Exec=gnome-screenshot

[Desktop Action window-shot]
Name=Take a Screenshot of the Current Window
Exec=gnome-screenshot -w

These exec commands can be modified to respect global delay parameter.

Patch:

--- a/src/org.gnome.Screenshot.desktop.in
+++ b/src/org.gnome.Screenshot.desktop.in
@@ -18,11 +18,11 @@

 [Desktop Action screen-shot]
 Name=Take a Screenshot of the Whole Screen
-Exec=gnome-screenshot
+Exec=sh -c "gnome-screenshot -d $(gsettings get org.gnome.gnome-screenshot delay)"

 [Desktop Action window-shot]
 Name=Take a Screenshot of the Current Window
-Exec=gnome-screenshot -w
+Exec=sh -c "gnome-screenshot -w -d $(gsettings get org.gnome.gnome-screenshot delay)"

 [Desktop Action area-shot]
 Name=Take a Screenshot of a Selected Area

Tags: patch zesty
summary: - Quicklist menu action doesn't respect global delay
+ Quicklist menu action doesn't respect global delay (Yakkety)
tags: added: yakkety
summary: - Quicklist menu action doesn't respect global delay (Yakkety)
+ Quicklist menu action doesn't respect global delay (Zesty)
tags: added: zesty
removed: yakkety
Revision history for this message
Khurshid Alam (khurshid-alam) wrote :

Attaching a patch made by using quilt.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "respect_global_delay_in_unity_quicklist.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Jeremy Bícha (jbicha) 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.

Changed in gnome-screenshot (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Khurshid Alam (khurshid-alam) wrote :

@Jeremy

Is this really a upstream bug. This is for Unity-Quicklist which is patched by Ubuntu.

See here: http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/gnome-screenshot/vivid-proposed/view/head:/debian/patches/update_unity_list.patch

Same patch is being used for zesty as well. I created a separate patch to overwrite that. (Or I can just modify "update_unity_list.patch" and provide that as a new patch). But it's a Ubuntu's patch.

Revision history for this message
Khurshid Alam (khurshid-alam) wrote :

Alright I will file a upstream bug about this.

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

Other bug subscribers

Remote bug watches

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