-
Notifications
You must be signed in to change notification settings - Fork 3
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
Sometimes can't switch to workspace. #19
Comments
I think this commit has a defect: |
The bug is not consistent, I think its a race condition. What helps recreate is closing and opening windows on the workspace 1, after switching from workspace 3. |
I have reverted that commit for now. I think there is some kind of window focus issue preventing it from working. And it somehow also depends on the types of windows I have on that workspace. |
Hmm. that did not help. I was wrong. Weird it might be related to going from tall to fullscreen... Need more testing |
Nothing useful in the logs. You can see trying to switch to 3 many times and nothing happening. |
Tracking this, I think its because you changed configuration to |
Yes, the debug messages and the changelog are still lacking, sorry. Were you using the latest commit with the buggy behavior occurring and what does your config look like? I changed it to When it's true then For example, after sending a workspace 1's last window to workspace 2 with |
My config is pretty simple, just few misc changes you can see here: Yes, this is for the last commit. Actually I was looking for ahk window manager so that I could just write additional
That, I don't really know. I only use 1 monitor. So my use case is the most simple. It's probably a good change, I just don't have any experience of how MiguruWM works when there are many monitors.
I see. Changing focusWorkspaceByWindow to false has fixed my issue. I don't think much of anything is needed to be fixed. Maybe just document the focusWorkspaceByWindow flag. Unless you have any other ideas. |
I'm glad that overall it seems to be working for you. Also I'll update Configuration#focusworkspacebywindow and try to add more information. Could you maybe help me reproduce the bug by giving some more details like:
|
I have unreal 4 game on workspace 3. So just 1 window. Workspace 1 has 2 or more windows, chromium and mintty(s)
I think its specific to the game, because it probably does its own shenanigans with window focus. Probably some bug in the game too, because sometimes the game itself kinda loses window focus and the mouse can unhide the taskbar.
Its kinda random, but I guess the most reliable was going workspace 3 then back to 1, change from tiled to fullscreen on workspace 1, open new mintty window on workspace 1 and then try switching to workspace 3. It gets stuck from there. |
There is an issue, and I think this started happening after the last batch of commits where switching to some workspace does not work at all.
For example you press alt+3 and nothing happens. It depends on what windows I have on that workspace. I think my windows become unmanaged after I switch workspace and then do some more window switching on the other one. But I don't get why it won't even switch the workspace at all.
The text was updated successfully, but these errors were encountered: