Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Workspaces] Doesn't remember workspaces from Ms Edge. #34675

Open
maciekkukuczka opened this issue Sep 6, 2024 · 8 comments
Open

[Workspaces] Doesn't remember workspaces from Ms Edge. #34675

maciekkukuczka opened this issue Sep 6, 2024 · 8 comments
Labels
Issue-Bug Something isn't working Needs-Team-Response An issue author responded so the team needs to follow up Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Product-Workspaces Refers to the Workspaces utility

Comments

@maciekkukuczka
Copy link

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

@maciekkukuczka maciekkukuczka added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Sep 6, 2024
@davidegiacometti davidegiacometti added the Product-Workspaces Refers to the Workspaces utility label Sep 7, 2024
@plante-msft
Copy link
Contributor

plante-msft commented Sep 9, 2024

@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

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Sep 9, 2024
@maciekkukuczka
Copy link
Author

@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.

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Sep 10, 2024
@plante-msft
Copy link
Contributor

@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?

@maciekkukuczka
Copy link
Author

@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.

  1. I saves the layout via PT Workspace.

  2. 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 :)

  3. 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).

  4. 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!

@maciekkukuczka
Copy link
Author

Today's draw (of course these are not the target monitors of these Edge windows)😉

image
image

@plante-msft
Copy link
Contributor

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:

  1. 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).
  1. It cannot launch applications such as Excalidraw (PT v.0.84.1)

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up labels Sep 12, 2024
@maciekkukuczka
Copy link
Author

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?

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Sep 13, 2024
@plante-msft
Copy link
Contributor

Nope, this is good! We might ask for the workspaces.json file in the future but don't worry about that for now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Needs-Team-Response An issue author responded so the team needs to follow up Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Product-Workspaces Refers to the Workspaces utility
Projects
Status: No status
Development

No branches or pull requests

3 participants