Open timon-schelling opened 1 month ago
hi! It looks to me that in the second console output the window was not moved at all...also it seems you have two instances of Rio, instead of 1? The fact that it is moved to workspace 6 instead of 5 is not important: if you have 3 monitors, by default on vdesk 2 there will be workspaces 4,5,6, and the window will just be placed wherever on one of these workspaces IIRC.
Just wondering, does this happen if you move back and forth once between vdesk 1 and 2, before moving the window?
What if instead you use hyprctl dispatch vdeskreset
before moving the window?
hi! It looks to me that in the second console output the window was not moved at all...also it seems you have two instances of Rio, instead of 1?
To reproduce my issue I need 3 windows that stay on each of the 3 monitors on vdesk, one of them is a second rio window in the logs I provided. The second 3ecf7e00 moved from monitor 2 to monitor 3 and from workspace 2 to workspace 6. This happened between log 1 and 2. I don't know why you would think it did not move at all. I could redo it with other windows maybe 3 Firefox and one vscode that I move around, would that make it clearer?
The fact that it is moved to workspace 6 instead of 5 is not important: if you have 3 monitors, by default on vdesk 2 there will be workspaces 4,5,6, and the window will just be placed wherever on one of these workspaces IIRC.
I think it matters for me, there are different dispatchers to move windows around between visible monitors. I think the behavior of KDE or GNOME is what users would expect.
Just wondering, does this happen if you move back and forth once between vdesk 1 and 2, before moving the window?
I have never tested this specifically. But also happened after using the vdesk 1 and 2 for some time, moving between them but leaving every window on the vdesk it was created on, and then moving a window from vdesk 1 to 2. the behavior is identical in that case.
What if instead you use
hyprctl dispatch vdeskreset
before moving the window?
This did not change anything. The logs I provided where recorded after rebooting, than creating the windows and than calling vdeskreset. I get the same results regardless if I call vdeskreset before or not.
Thanks for investigating this. Tell me if I can help in any way.
The second 3ecf7e00 moved from monitor 2 to monitor 3 and from workspace 2 to workspace 6. This happened between log 1 and 2.
Misunderstood the logs, thought you also tried to move it back to first vdesk.
I think it matters for me, there are different dispatchers to move windows around between visible monitors. I think the behavior of KDE or GNOME is what users would expect.
Yes, but this is not implemented in the plugin yet, so what you're seeing is not technically a bug, but a missing feature.
So, given this, I think the actual bug in your situation is the artifacts, and the fact that the window cannot be focused. Do you use any software that manages monitors, like kanshi, shikane, way-displays or similar? These kind of problems are usually related to the fact that both Hyprland and the plugin are trying to move windows and workspaces around when monitors get connected/disconnected. I've been meaning to add a plugin event to avoid this to Hyprland, but never really got around to actually doing it
So, given this, I think the actual bug in your situation is the artifacts, and the fact that the window cannot be focused.
Feel free to change this issue represent that.
Do you use any software that manages monitors, like kanshi, shikane, way-displays or similar?
No just hyprland and this plugin, with a static monitor configuration.
Yes, but this is not implemented in the plugin yet, so what you're seeing is not technically a bug, but a missing feature.
Thus I should open a separate feature request?
Yes, you can open a feature request :) For the bug, I think this might be related to #44 . I hope these issues will be fixed once I finally will take the time to push some additional events to hyprland plugin events
I really appreciate this plugin, thanks for the effort.
When I move windows between virtual desktops I'm unable to focus the moved windows and some artifacts appear on other monitors. After some time and jumping between desktops, I am once again able to focus the window, but on a different monitor without moving it there.
The simplest case I was able to reproduce consistently is with three monitors with one window each. Than I open a new window one of the monitors and move it via
movetonextdesk
.Further down is some console output that was captured while testing this.
For me it seems like the the window was moved to the wrong workspace (from 2 to 6 instead of from 2 to 5) and somehow the output of the workspace that the window landed on got displayed on the monitor the window came from.
Output of
hyprctl workspaces
&hyprctl clients
before runningmovetonextdesk
with window "Window 3ecf7e00 -> Rio" focusedafter
movetonextdesk
after moving back to desktop 1