Shutter process does not exit after shutter close

Bug #1237366 reported by vsespb
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Shutter
New
Undecided
Unassigned

Bug Description

Steprs to reproduce:

1. Run shutter.
2. Close it with Alt-F4
3. shutter is still in process list, but not visible in launcher nor in tray icons.

Correct way to close shutter is "Quit" from menu. But it's not documented and there is no option to change this behaviour.

Also, initially I found "shutter" eating 100% CPU in process list, but I cannot reproduce this, probably.

shutter:
  Installed: 0.88.1-1
  Candidate: 0.88.1-1
  Version table:
 *** 0.88.1-1 0
        500 http://ru.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
        100 /var/lib/dpkg/status

Rev.1184

Ubuntu 12.04 with Unity

Revision history for this message
vsespb (vsespb) wrote :
Revision history for this message
Michael Kogan (michael-kogan) wrote :

I'm not using Unity (and therefore libappindicator), but things you could do to trac the problem:

1. Try the current version from this PPA: https://launchpad.net/~shutter/+archive/ppa?field.series_filter=precise
2. Start Shutter from the command line and see what messages it displays after trying to close it.

Changed in shutter:
status: New → Incomplete
Revision history for this message
vsespb (vsespb) wrote :

> 2. Start Shutter from the command line and see what messages it displays after trying to close it.

no messages at all. (below messages thrown _before_ I try to close it. )

====
WARNING: gnome-web-photo is missing --> screenshots of websites will be disabled!

WARNING: Net::DBus::GLib is missing --> Ubuntu One support will be disabled!

WARNING: Image::ExifTool is missing --> Writing Exif information will be disabled!

INFO: new upload-plugin information detected - /usr/share/shutter/resources/system/upload_plugins/upload/Dropbox
Can't locate Net/Dropbox/API.pm in @INC (@INC contains: /usr/share/shutter/resources/modules /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/shutter/resources/system/upload_plugins/upload/Dropbox.pm line 73.
BEGIN failed--compilation aborted at /usr/share/shutter/resources/system/upload_plugins/upload/Dropbox.pm line 73.

ERROR: upload-plugin exists but does not work properly - /usr/share/shutter/resources/system/upload_plugins/upload/Dropbox
Use of uninitialized value in numeric le (<=) at /usr/bin/shutter line 9020.
^CWARNING: DBus connection to org.freedesktop.compiz failed --> setting keyboard shortcuts may not work when using compiz

org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.compiz was not provided by any .service files
====

> 1. Try the current version from this PPA

same effect.

shutter:
  Installed: 0.90.1~ppa1~precise1
  Candidate: 0.90.1~ppa1~precise1
  Version table:
 *** 0.90.1~ppa1~precise1 0
        500 http://ppa.launchpad.net/shutter/ppa/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status
     0.88.1-1 0
        500 http://ru.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages

Revision history for this message
vsespb (vsespb) wrote :

I have perl modules installed over CPAN on my box. So I tried empty new Ubuntu 12.04 VM - same problem.

Changed in shutter:
status: Incomplete → New
Revision history for this message
Michael Kogan (michael-kogan) wrote :

Since you already have a VM install to play with, could you maybe test with another DE (say, Xfce)? I suppost that this is a libappindicator problem but this needs to be clarified.

Revision history for this message
vsespb (vsespb) wrote :

I don't have Ubuntu VMs with another DE. Let's just wait till someone reproduce problem in Unity and confirm ticket. If you don't have unity you unlikely can fix it and test the fix.

Revision history for this message
covertgeek (derek-rushing) wrote :

I'm having the same issue with Xubuntu 13.10.

Running command via a script as:
/usr/bin/shutter -s -e -n -c --output=screenshot.png

If I hit escape, it never exits.

If I run shutter manually (no options) and then click "X" to close the window, I get the same behavior.

Attempted with both PPA and Xubuntu repository releases.

Messages on command line:
> /usr/bin/shutter
WARNING: Net::DBus::GLib is missing --> Ubuntu One support will be disabled!

> /usr/bin/shutter --version
WARNING: Net::DBus::GLib is missing --> Ubuntu One support will be disabled!

0.90.1 Rev.1259

Revision history for this message
htellez (tellez-hector) wrote :

Still a problem on 0.94 Rev.1290

Repro steps:

1> $ shutter -s -e
2> wait for selection instructions to appear
3> press ESC

If you are looking at your terminal you will see:
GLib-CRITICAL **: Source ID 130 was not found when attempting to remove it at /usr/bin/shutter line 7262.

Revision history for this message
Michael Kogan (michael-kogan) wrote :

htellez: I think, this is a different issue. When you press ESC in selection mode, the selection mode is terminated but Shutter itself is still running, you should see its tray icon still being displayed. This is the way it is intended to be. The original bug report describes another issue, the tray icon being gone and only a process still running.

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.