-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Windows change workspaces after suspend #29
Comments
can you explain what position changes? |
Hi @ebeem |
I will need to debug this, as far as I am concerned, it didn't happen to me before. I use 3x3 grid. |
Cool :) |
@HadiModarres Do you use a laptop with an external monitor? There might be a delay in setting up the external monitor which pushes the windows back to the workspaces of the internal monitor. I believe this issue is not caused by Workspace Matrix because it has nothing to do with window positioning. It might only increase the visibility of this issue with the 2D grid and static number of workspaces. |
Hi @mzur |
@mzur just to be clear, external monitor doesnt cause an issue on its own. I can work with it with no problems and detach and attach the hdmi cable many times. The issue happens only when I suspend the laptop and wake it up again. |
I don't use an external monitor and can replicate this issue Actually it appears to only move the bottom from right to left, neither of the items in 1 or 2 move see below 1,2 1 has app, 2 has app Lock screen
|
you're right, I'm seeing this behaviour too |
I still can't reproduce this with Ubuntu 18.04 and GNOME 3.28.3 or Ubuntu 19.04 and GNOME 3.32.0. Which Linux distro and GNOME version do you have? |
@s3than I use the Auto Move Windows extension which allows me to set a default workspace for each application, if I set firefox default workspace to 3 and then move it to 4, then restart/suspend/add monitor, the window will move back to workspace 3. can you try placing multiple windows on each workspace and tell us whether all windows at workspace#4 move to workspace#3? |
Could it be because of the first install and it gets fixed after a restart? |
@HadiModarres That's possible, I'll keep testing I've got two laptops with the same versions installed so I can try and replicate on them at the same time |
Please reopen if this is still relevant. |
I'm experiencing this issue. 3x2 grid and I'm running the latest Manjaro with GNOME 3.32. On mine, all of the windows on workspaces 4-6 move to workspace 3. |
I think this is Gnome/Xorg issue, I don't have the plugin installed currently but I see this problem sometimes. It happens every once in a while with a mixture of external screen and suspending. Haven't encountered the problem on Wayland so far. |
So this also happens if Workspace Matrix is not installed/disabled? @FOSSforlife Can you confirm this? |
I made some assumptions and tested in case someone has let's say 6 workspaces by default, and 9 with I am not sure whether this should be fixed in steps:
if anyone is facing this issue, please try this solution and let us know if it works. |
Thanks a lot @ebeem! This makes sense and I can reproduce the behavior. One thing we could do is to not restore the number of workspaces if the extension is disabled. This should at least solve the issue if the workspaces were set to "static". I'll have to test what happens in case they were set to "dynamic". |
I assume dynamic is fine since it will not get rid of the extra workspaces |
@ebeem's solution worked for me. When I went to Tweaks -> Workspaces, it said that I had 6 workspaces, which is the amount I should have, but after turning off Workspace Matrix extension it went down to 3. Turning the extension off, changing it, and then turning it back on worked. Thank you all for your help! |
The extension is disabled when GNOME is inactive or locked and the reset of workspaces caused windows to move from one workspace to the other. Now changing the number of workspaces in this extension will permanently change the global number of workspaces. If workspaces were set to "dynamic" before the extension is enabled, windows will still jump around. References #29
I just published v2.3.0 which resolves this issue if workspaces were set to "static". If they were set to "dynamic", windows will still jump around. I'll leave it at that for now. |
This extension is very nice, but there is a problem that makes it unusable for me. After waking up from suspend window positions change.
To reproduce: create a 3x3 matrix and open a terminal in bottom right corner, suspend then terminal position is changed.
The text was updated successfully, but these errors were encountered: