Mint 17/Ubuntu 14.04 - can only launch one instance of gthumb

Bug #1327002 reported by R J B
44
This bug affects 17 people
Affects Status Importance Assigned to Milestone
gThumb
Fix Released
Medium
gthumb (Ubuntu)
Fix Released
Wishlist
Unassigned
Trusty
Fix Released
Low
Vlad Orlov

Bug Description

[Impact]

The bug prevents users from launching a second instance of gthumb.

This feature is sometimes useful, for example, when opening a few images in a row from a file manager - it might open a new instance of gthumb.

In addition, second instance fails to run without any messages (unless you run it from terminal), which is confusing to the users.

The fix had been already applied upstream a few years ago, and it would be nice to backport it to Trusty.
The debdiff which is attached to this report contains the backported patch.

[Test Case]

Steps to reproduce:

- launch one instance of gthumb from terminal: gthumb &
- try launching a second instance: gthumb

Expected result:

- second instance would open normally

What really happens:

- second instance shows error message and quits immediately:

GDBus.Error:org.freedesktop.DBus.Error.NotSupported: Application does not handle command line arguments

[Regression Potential]

The fix had been applied upstream a few years ago, so it had been tested since then.

It was also tested by Utopic/Vivid/Wily users as it was included in gthumb 3.2.8 in these releases.

I consider the regression potential to be low here.

[Original Report]
If I right click on an "image file" in caja, select "open with", then "gthumb" :
In Linux Mint 13 Mate 32-bit I could open/launch multiple instances of gthumb from caja
In Linux Mint 17 Mate 32-bit I can only launch a single instance of gthumb - it seems to start, then nothing
In Linux Mint 17 Mate 32-bit I found I could open multiple instances of gthumb only from the gthumb file menu, select "New WIndow".
Worked in 13, not in 17 - could not find a preference (like I describe below for a similar problem with VLC Player) to solve this problem.

Note: found a similar problem with VLC Player, but it turned out a difference in default preference setting in VLC from 13 to 17, making that VLC preference change (preferences/interface settings/playlist and instances/use only one instance when stated from file manager) solved the problem.

Revision history for this message
Vlad Orlov (monsta) wrote : Re: Mint 17 - can only launch one instance of gthumb

Also when you try to run the second instance of gthumb from the command line, you'll get this error:

GDBus.Error:org.freedesktop.DBus.Error.NotSupported: Application does not handle command line arguments

This is fixed in gthumb 3.2.8. Get this version from Ubuntu 14.10 repositories. Don't forget to retrieve both gthumb and gthumb-data packages (due to the dependencies).

Here's a bug report asking to update gthumb in Ubuntu 14.04 repositories to 3.2.8:
https://bugs.launchpad.net/bugs/1323312

affects: linuxmint → gthumb (Ubuntu)
summary: - Mint 17 Mate 32-bit can only launch one instance of gthumb from caja
- file manager
+ Mint 17 - can only launch one instance of gthumb
Changed in gthumb (Ubuntu):
status: New → Confirmed
Revision history for this message
Vlad Orlov (monsta) wrote :
Changed in gthumb:
importance: Unknown → Medium
status: Unknown → Fix Released
Changed in gthumb (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Vlad Orlov (monsta) wrote :

"Wishlist"? LOL.

Vlad Orlov (monsta)
summary: - Mint 17 - can only launch one instance of gthumb
+ Mint 17/Ubuntu 14.04 - can only launch one instance of gthumb
Vlad Orlov (monsta)
tags: added: trusty
Revision history for this message
Steve A (stevenaaus) wrote :

Yah - this is very annoying.
Gthumb is the most usable viewer imho, but it has some amazingly terrible design choices.
Sadly, free software is quite often sh*t.

Revision history for this message
Steve A (stevenaaus) wrote :

I couldn't believe the crop tool is only available from that space-hogging palette icon/side bar. What a joke.

Hey - i just tried "shotwell". Not too bad :)

Revision history for this message
Steve A (stevenaaus) wrote :

Haha - try resizing an image in gthumb , mint 17. Now that is funny. What a p.o.s.

Revision history for this message
mjc (mjc-avtechpulse) wrote :

Your crude and insulting language is a disservice to those who have brought you free software.

Revision history for this message
Steve A (stevenaaus) wrote :

Yeah... sorry. I was being well over the top. gthumb is the best of the bunch.
Here is a solution for Mint 17 allowing multiple instances
https://theoryl1.wordpress.com/2016/03/15/multiple-instances-of-gthumb-on-linux-mint-17/

Revision history for this message
Vlad Orlov (monsta) wrote :
Revision history for this message
Vlad Orlov (monsta) wrote :

[Impact]

The bug prevents users from launching a second instance of gthumb.

This feature is sometimes useful, for example, when opening a few images in a row from a file manager - it might open a new instance of gthumb.

In addition, second instance fails to run without any messages (unless you run it from terminal), which is confusing to the users.

The fix had been already applied upstream a few years ago, and it would be nice to backport it to Trusty.
The debdiff which is attached to this report contains the backported patch.

[Test Case]

Steps to reproduce:

- launch one instance of gthumb from terminal: gthumb &
- try launching a second instance: gthumb

Expected result:

- second instance would open normally

What really happens:

- second instance shows error message and quits immediately:

GDBus.Error:org.freedesktop.DBus.Error.NotSupported: Application does not handle command line arguments

[Regression Potential]

The fix had been applied upstream a few years ago, so it had been tested since then.

It was also tested by Utopic/Vivid/Wily users as it was included in gthumb 3.2.8 in these releases.

I consider the regression potential to be low here.

tags: added: patch
Jeremy Bícha (jbicha)
Changed in gthumb (Ubuntu Trusty):
importance: Undecided → Low
status: New → Triaged
Changed in gthumb (Ubuntu):
status: Confirmed → Fix Released
description: updated
Revision history for this message
Simon Quigley (tsimonq2) wrote :

Uploaded to Trusty, it's now in the Unapproved queue.

Thank you for your contribution to Ubuntu!

Changed in gthumb (Ubuntu Trusty):
assignee: nobody → Vlad Orlov (monsta)
Revision history for this message
Robie Basak (racb) wrote : Please test proposed package

Hello R, or anyone else affected,

Accepted gthumb into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gthumb/3:3.3.1.is.3.2.7-0ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-trusty to verification-done-trusty. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-trusty. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in gthumb (Ubuntu Trusty):
status: Triaged → Fix Committed
tags: added: verification-needed verification-needed-trusty
Revision history for this message
Vlad Orlov (monsta) wrote :

Testing in Xubuntu 14.04...

- removed my locally built gthumb
- installed 3:3.3.1.is.3.2.7-0ubuntu1.1 from trusty-proposed
- launched first instance: gthumb &
- launched second instance: gthumb
- all good, launching more than one instance is possible

tags: added: verification-done verification-done-trusty
removed: verification-needed verification-needed-trusty
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gthumb - 3:3.3.1.is.3.2.7-0ubuntu1.1

---------------
gthumb (3:3.3.1.is.3.2.7-0ubuntu1.1) trusty; urgency=medium

  * 15-fix-open-second-instance.patch: new patch. Fixes opening
    second instance of gthumb (LP: #1327002).

 -- Vlad Orlov <email address hidden> Fri, 21 Jul 2017 12:29:22 +0300

Changed in gthumb (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for gthumb has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Vlad Orlov (monsta) wrote :

Thanks :)

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.