pop-os / cosmic-workspaces-epoch

GNU General Public License v3.0
21 stars 18 forks source link

Workspace previews dissapear from the picker on one of the displays when monitor unplugged #61

Open Kartonrealista opened 2 months ago

Kartonrealista commented 2 months ago

image

ids1024 commented 1 month ago

https://github.com/pop-os/cosmic-workspaces-epoch/commit/2de366939bc4bd475c36ff805fb96272f207bb74 may fix this.

Kartonrealista commented 3 weeks ago

Reaopening this since it reoccured. This time it happened when I unplugged and replugged my second monitor. This also resulted in only one workspace being present on the replugged monitor instead of default two.

jagg2 commented 3 weeks ago

I have also run into this. Seems to effect my monitor running over DP when I turn it off and back on. Does not seem to effect my VGA monitor using DP adapter, or my monitor running over HDMI. Logging out and back in seems to fix it, until I turn my monitor off again.

Kartonrealista commented 3 weeks ago

I have also run into this. Seems to effect my monitor running over DP when I turn it off and back on. Does not seem to effect my VGA monitor using DP adapter, or my monitor running over HDMI. Logging out and back in seems to fix it, until I turn my monitor off again.

In my case the monitor I didn't unplug lost workspace previews.

nevdelap commented 3 weeks ago

I assume this is the same issue. I've had it since first installing the alpha when it was released.

image

image

When I log in it is working, and stops working sometime later. It might be after I've locked and unlocked the screen, but not sure about that.

It is always my main (larger) screen that they are blank, but I haven't checked if that is always showing up as zero. When I next log out and in I'll see.

Update: it is not related to locking and unlocking the screen because since https://github.com/pop-os/cosmic-greeter/issues/126 I've disabled my lock screen shortcut and haven't been locking my screen (home machine) and it is still the case. And it has been screen 0 each time I've checked.

nevdelap commented 1 day ago

Hi @Kartonrealista. How would you characterize the sometimes-ness of this issue? For me it is always. If it is for you too maybe it would be worth updating the issue title?

nevdelap commented 1 day ago

I've just found something useful. Kill cosmic-workspaces and when it restarts when you press Super+w it is working again.

killall cosmic-workspaces

Update: I can confirm that it happened immediately when I've just turned it off and on after reading @Kartonrealista's update to the issue title, and killing it and having it restart worked around/fixed it. I'm pretty certain it does happen without turning the monitor off/disconnecting, I'll keep an eye on it to confirm.