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

[Bug] Window open in current workspace, not where is was opened. #788

Open
SebasF1349 opened this issue Oct 11, 2024 · 2 comments
Open

[Bug] Window open in current workspace, not where is was opened. #788

SebasF1349 opened this issue Oct 11, 2024 · 2 comments
Labels
type: bug Something isn't working

Comments

@SebasF1349
Copy link

Describe the bug

Some apps take a one or two seconds to open (discord as a common example, as it is looking for updates). If I open discord in the second workspace and then I move to the first workspace while it loads, discord ends up opening on the first workspace, which is a bit annoying. It should open on the second workspace instead, as that's where I opened it.

Reproduction

  1. Open Discord.
  2. Move to another workspace while discord is in the loading screen.

Stack trace or error logs (if applicable)

No response

Version number

3.4.0

@SebasF1349 SebasF1349 added the type: bug Something isn't working label Oct 11, 2024
@pienapin
Copy link

In my experience using various tiling window managers in Linux, like bspwm, awesomewm, and hyprland, I’ve noticed that Discord behaves similarly. It seems that the "looking for updates" and the actual Discord application are different processes. The actual Discord opens only after the "looking for updates" process completes. So, if you switch to the first workspace while the "looking for updates" process is still running, the actual Discord may not have opened yet; that’s why it appears in the first workspace.

As for other apps, they probably haven't fully loaded when you switch to another workspace, resulting in them opening in the new workspace instead. So, in my opinion, this is not a bug; it’s just a common behavior of tiling window managers.

@SebasF1349
Copy link
Author

I have not that much experience with tiling wm, I have only used a bit of i3 and now I run hyprland. But hyprland tracks the initial workspace where an app was launched. This is the commit were it was implemented: hyprwm/Hyprland@29308b9 I don't really remember what happened in i3.

But you are probably right. Maybe this is not a bug but a feature request. Will change the label when in my PC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
Status: 📬 Needs triage
Development

No branches or pull requests

2 participants