Focus/launch a named application

Bug #718049 reported by Nikodemus Siivola on 2011-02-13
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Synapse
Wishlist
Unassigned

Bug Description

One of the things I miss in Synapse (as an old Quicksilver user) is the treatment of applications already running.

If I type "foo", and there's an application called Foo, the offered actions should depend on if that application is already running: if it isn't first choice is to run it. If it is already running, the first choice should be to focus on it.

Currently Synapse only offers to launch a new instance, which is almost never what I want.

i tend to differ here.
i always have a gnome-terminal open and i use synapse to open a _new_ gnome-terminal
the way you describe i can never have a _new_ terminal.
so if the behavior nicodimus is to be implemented, please make it configurable to be off by default.

Owais Lone (loneowais) wrote :

May be if we hit shift+enter, it should focus and not start a new one.

good idea
i'm confirming

Changed in synapse-project:
status: New → Confirmed
Michal Hruby (mhr3) wrote :

Shift+enter is already used for a different action, but anyway this clearly needs to be two explicitly separate actions.

Changed in synapse-project:
importance: Undecided → Wishlist
raboof (arnouten) wrote :

In the related branch I created an initial implementation of this idea.

Instead of adding another Action to applications for focusing the windows of that application, I chose to introduce 'windows' as a new construct: this way if you have multiple instances open of the same application, or one application has multiple windows, you can still use this.

Needs some work (for one thing the icons need to make more sense), feedback appreciated.

Jooj (jooj) wrote :

How can I enable this feature ? I really want this behaviour from synapse.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers