Shutter - e produces GLib-Critical errors and does not exit

Bug #1492390 reported by Chris
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Shutter
New
Undecided
Unassigned

Bug Description

Ubuntu 14.04, after a recent update shutter -e no longer works correctly in a script.
I'm using Shutter 0.93.1 Rev 1278 from the PPA

Errors reported are :
GLib-CRITICAL **: Source ID xxxx was not found when attempting remove it at /usr/bin/shutter line 7429
Source IDs are variously given as 34, 526, 575, 660, 814, 909, 1101, 1267, 1358, 1442 etc

From reading, my very limited understanding is that if g_source_remove() is passed garbage this error is generated. Recent changes (Dec 2014?) which may have now been passed to Ubuntu 14.04 means that shutter now longer works correctly from the command line.

In Ubuntu 14.04, the problem can now be easily recreated by typing
shutter -e -s=10,10,10,10 --output=~/filename.png

The error messages are generated along with a considerable delay for each one, and if this is called from a script it may not return correctly.

Previously some errors were generated but there was little delay. Currently there are long delays both to execute the screen shot and to save the file and return. The bug is now a deal breaker with some changes that have been made to g_source_remove() making shutter all but unusable from a script.

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.