Open maciekkukuczka opened 1 week ago
@maciekkukuczka Workspaces cannot detect app state at this time, but launching to a specific workspace in Edge is possible via the CLI arguments.
It's not the most graceful solution, but you can find the Edge Workspace ID in this file: \AppData\Local\Microsoft\Edge\User Data\Default\Workspaces\WorkspacesCache
.
Grab the id
field of the workspace you want to launch to, and add the following to the Edge CLI args in the Workspaces Editor: --launch-workspace=<insert_id>
This should launch to your workspace. Let me know if that helps.
Relevant link: https://learn.microsoft.com/en-us/answers/questions/1365453/how-to-launch-microsoft-edge-to-a-specific-workspa
/needinfo
@plante-msft Yes, this method works and workspaces load correctly. Thank you for this!
Unfortunately, Edge windows with workspaces on different monitors load absolutely randomly - this has nothing to do with the saved window layout.
I work on 6 monitors with different resolutions, if necessary I can help identify the problem.
@maciekkukuczka Do you mean that when you are changing monitor setups, the workspace layout changes randomly when launching on the non-original setup?
Or that when you launch multiple Edge windows, each with its own Edge Workspace, the Edge Workspaces will not consistently show up in the same window/position?
@plante-msft
I mean the second option more.
I have Edge windows arranged on several monitors.
Each of them has its own workspace. Workspaces, as you advised, I load via command lines and it works ok.
I saves the layout via PT Workspace.
When I load it again using the shortcut, the Edge windows end up on completely random monitors. Each time in different configurations. Like from a randomizing machine :)
Pressing the shortcut again causes all windows to be reloaded, which should not happen. PT should only launch applications that are not already launched from a given shortcut (including Edge windows).
It cannot launch applications such as Excalidraw (PT v.0.84.1)
And one more question outside the competition, although I do not have too much hope... Microsoft has not yet saved the tab layouts in Edge (vertical / horizontal), so they have to be arranged anew after each launch. As you can imagine, with about 10 windows this is very inconvenient.
Can the PT team do something about it? 😎
Best Regards!
Today's draw (of course these are not the target monitors of these Edge windows)😉
This is interesting behaviour, I can't say we've seen it before in our testing. @maciekkukuczka can you provide a bug report so our team can look into the specifics when we get to this issue? cc @SeraphimaZykova
/bugreport
There are already issues open for these items that we are tracking - unfortunately there is not much that we can do about behaviour inside of Edge:
Pressing the shortcut again causes all windows to be reloaded, which should not happen. PT should only launch applications that are not already launched from a given shortcut (including Edge windows).
It cannot launch applications such as Excalidraw (PT v.0.84.1)
PowerToysReport_2024-09-13-10-54-24.zip
Sure, I am sending you a current report. Do you want me to do anything specific before saving the report?
Nope, this is good! We might ask for the workspaces.json file in the future but don't worry about that for now. Thanks!
Microsoft PowerToys version
0.84.0
Installation method
PowerToys auto-update
Running as admin
None
Area(s) with issue?
Workspaces
Steps to reproduce
Doesn't remember workspaces from Ms Edge.
I know you may not have any control over this, but setting all workspaces every time in all Edge launches, on all monitors, basically eliminates the use of workspaces...
✔️ Expected Behavior
Loads workspaces in Edge.
❌ Actual Behavior
Does not load workspaces in Edge
Other Software
No response