After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 490163 - [KB-Fixed] Single instance for shell
[KB-Fixed] Single instance for shell
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Shell
2.22.x (obsolete)
Other Linux
: Normal enhancement
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
evolution[kill-bonobo]
: 404649 430149 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-10-25 14:29 UTC by Michael Monreal
Modified: 2009-08-30 05:53 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Michael Monreal 2007-10-25 14:29:49 UTC
I often don't remember having the evo window already open and instead of just opening it, I open another copy and then notice later that I have multiple copies open.

It would be great if pressing the launcher again if evo is already running would just bring the existing window to the top or unminimize it.
Comment 1 Matthew Barnes 2008-03-19 21:05:52 UTC
Confirming.  I've done that myself.

Fedora used to have one launcher per component (Mail, Calendar, etc.), so we'd have to be mindful of that.  Maybe only do this if the --component option is not given?
Comment 2 Johannes Schmid 2009-01-27 10:49:31 UTC
+1
Comment 3 Matthew Barnes 2009-01-28 18:06:25 UTC
This is fixed now on the kill-bonobo branch.  Commit log says:

Add unique-1.0 requirement (blessed external dependency).

Make EShell a subclass of UniqueApp and handle single-instance negotiation.

When another Evolution process is running:

  - Running "evolution" will simply present the existing windows.

  - Running "evolution -c <view>" will open a shell window set to <view>.

  - Running "evolution <uri>" will open an appropriate window for <uri>.

The second process will then terminate immediately.
Comment 4 Matthew Barnes 2009-01-28 18:33:18 UTC
*** Bug 430149 has been marked as a duplicate of this bug. ***
Comment 5 Matthew Barnes 2009-01-28 18:36:39 UTC
*** Bug 404649 has been marked as a duplicate of this bug. ***
Comment 6 Matthew Barnes 2009-08-30 05:53:34 UTC
The "kill-bonobo" branch has been merged into "master" and will debut as Evolution 2.29.1.  We believe the branch has addressed the reported issue.  If you find the issue still exists in version 2.29 or later please feel free to re-open this bug.

Closing as FIXED.