shutter does not open after the 1st opening and closing

Bug #1860776 reported by Ilias Terzis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Shutter
New
Undecided
Unassigned

Bug Description

Dear Sir,
Thank you for making Shutter.
I found that when I open the program and close it from the graphical interface it doesn't reopen when I choose to run it. But when I type in the terminal the application name as a command , opens and runs. I thought is usefull to report it so that any user who would not think of the terminal would not find it the way to restart the application.
Shutter version: 0.94.2
Ubuntu version (with KDE in Kubuntu): 18.10
Yours sincerely,
Ilias.

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

That's weird. Can you find out which command is being run when starting Shutter via GUI?

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

I just searched on the web how to do this and found this: https://askubuntu.com/questions/347506/how-can-we-get-the-command-line-of-a-running-application
So, I followed the instructions and ran the command "appcmd Shutter" having the shutter open and got this: "Command to open from terminal: $ /usr/bin/perl /usr/bin/shutter"

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

What if you run exactly this command rather than launching Shutter from GUI, does it still crash?

Revision history for this message
Ilias Terzis (terilias) wrote :

If I run this command, shutter starts but if I close it from icon and try to start it again (but this time from GUI) doesn't start.
When I close it from icon the terminal has the following : "fct_update_tray_menu was called by Gnome2::Wnck::Screen=HASH(0x55e22edc9920)" and it doesn't exit to accept a new command.

Then , I tried to open shutter from new terminal window and it shays that : "WARNING: gnome-web-photo is missing --> screenshots of websites will be disabled!
WARNING: Image::ExifTool is missing --> writing Exif information will be disabled!
INFO: There is already another instance of Shutter running!"

(Εxcuse me for my bad english)

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

The warning and info messages are expected and not related to the problem.

If you start Shutter from CLI, then again start Shutter from CLI using the command "/usr/bin/perl /usr/bin/shutter" it starts both times? So it's really the start via GUI which causes the problem, not starting a second instance while one is already running? If so, I don't think that it is a Shutter problem. Something weird happens when using the GUI for starting apps and whatever it is seems to be related to this GUI rather than to Shutter itself.

Revision history for this message
Ilias Terzis (terilias) wrote :

It doesn't starts both times.But if I close it and then try to start it from gui it doesn't start.If I try then to start it from CLI it starts normally.
If the problem appears only in me, I think the problem is in my system.

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

I don't use KDE, so cannot try to reproduce it. On Xfce the problem doesn't appear for me. You might want to try to reproduce the problem with a clean user to be sure that it's not some user setting issue. Also you might want to test some other GUI launcher (panels, docks etc.) to see if it is specific to the GUI you are starting it from. Other than that I fear I'm out of ideas. I'll put the bug report status back to "new" such that it doesn't expire and other people with the same problem can comment.

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

OK. Thanks for your time !

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

You're welcome!

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.