MichaelAquilina / improved-workspace-indicator

gnome-shell extension that provides a workspace indicator similar to i3/sway
42 stars 12 forks source link

no window remains on its workspace after connecting external monitor #26

Open nkrot opened 1 year ago

nkrot commented 1 year ago

Hi,

I have an external monitor that is set up as "primary" and workspace indicator is configured to be on this primary display only.

if I disconnect the external monitor and then reconnect, not a single windows is on its original workspace. Instead, all windows are on the built-in secondary display (where there is no workspace indicator) and all workspaces in Improved Workspace Indicator are empty. Needless to say, this behaviour is a mess and defeats the purpose of workspace indicator.

It would be nice to see it fixed. Expected behaviour is that all windows stay on the same workspace upon reconnecting the external monitor.

I am using Ubuntu 20.04, Gnome 3.36.8

thanks in advance

MichaelAquilina commented 1 year ago

I suspect the issue is that we are simply not connecting to a "monitor connected/disconnected" signal in Gnome. I dont use more than one monitor so I never an into the issue myself.

Would you like to give the fix a go? The code is actually quite easy to follow and shouldnt be hard to debug if you want to make a contribution :)

Otherwise, I can find some time in the future to try work on this, but I cant garauntee a timeline of course

nkrot commented 1 year ago

are there any plans to fix this crap in near future? i feel pissed off having to rearrange the windows twice per day.

MichaelAquilina commented 1 year ago

@nkrot this is an open source project and not my full time job. As I mentioned in my previous comment, I cannot guarantee a timeline due to other real life commitments I have. Alternatively, you can stop using the extension.

This issue in particular does not affect me so it is quite low on my radar. You are welcome to give the fix a go yourself.

I do not appreciate the tone you have taken and I will close this issue if it persists.