microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.59k stars 6.57k forks source link

Workspaces opens new instances of apps vs resetting them in the workspace spot #34658

Open bradyguyc opened 2 months ago

bradyguyc commented 2 months ago

Microsoft PowerToys version

0.84.0

Installation method

PowerToys auto-update

Running as admin

No

Area(s) with issue?

Workspaces

Steps to reproduce

two monitors plus laptop screen for a total of three monitors. Outlook email on the far left screen, calendar on the laptop screen, visual studio 2022 enterprise preview on the right screen. Edge personal profile on the left screen and business profile on the left screen. All apps maximized to the screen. desktop icon for workspace pinned to task bar.

✔️ Expected Behavior

when windows get moved around and I want to reset to the saved workspace, I click on the workspace icon in the taskbar and it should move exiting apps that open to their saved location in the workspace definition and open new instances if that app is not running. Any apps that are not part of the workspace should be left alone.

❌ Actual Behavior

when things get out of place, moving outlook mail window and or calendar, around and you want to reset to the saved workspace. When clicking on the workspace icon in the task bar new instances of outlook are created and I end up with four instances, two each of mail and calendar, sometimes I end up with new instances of edge as well.

Other Software

microsoft outlook, teams, visual studio, word, powertoys explorer onenote, excel task manager where all open.

edclelland commented 1 month ago

I found the following solution for preventing Outlook from opening up multiple times when click on a workspace to enable:

  1. Edit the workspace in question
  2. In the Outlook program, click on the arrow on the far right to expand the section
  3. In the "CLI Arguments" line, type: /recycle
  4. Click "Save Workspace"

This should prevent Outlook from opening up multiple instances. You can try the same for the other applications, but I'm not sure if it will work or not.

Hope that helps!