Opened 2 years ago

Last modified 19 months ago

#18050 in-progress enhancement

Deskbar activate single window team on click

Reported by: danboid Owned by: jscipione
Priority: normal Milestone: Unscheduled
Component: Applications/Deskbar Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Currently, deskbar doesn't care how many instances of an app you have running, it always displays a pop-up menu when the user clicks on the app label in the deskbar even if there is only one instance of that app running.

I think is an inefficient workflow because Haiku should know not to display this menu when only one instance of an app is running allowing the user to bring that app to the foreground with a single click and hence cut out the unnecessary mousing and extra click.

If someone is keen to maintain this current behaviour (why?) then I'd like to see this added as an option instead.

Change History (5)

comment:1 by jscipione, 20 months ago

Status: newin-progress

comment:2 by jscipione, 20 months ago

Summary: Improve deskbar behaviourDeskbar activate single window team on click

comment:3 by zdykstra, 20 months ago

That's a fantastic improvement!

comment:4 by X512, 20 months ago

I think that it may have more sense to be for one application, not for one window. be_roster->ActivateApp(team); mechanism already exists for that.

Last edited 20 months ago by X512 (previous) (diff)

comment:5 by jscipione, 19 months ago

The reason for one window is because the menu that pops up deals with windows and so if you only have one window on a team than you can skip the menu on click. Ultimately be_roster->ActivateApp(team); is called on click to activate the app after switching workspaces and minimization are handled. There may still be edge case here with multiple instances of an app running simultaneously that I need to double check…

Note: See TracTickets for help on using tickets.