Skip to content
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

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

Open
Kartonrealista opened this issue Jul 11, 2024 · 11 comments
Milestone

Comments

@Kartonrealista
Copy link

image

@Kartonrealista Kartonrealista changed the title In multimonitor setups, workspace previews dissapear from the picker on one of the displays In multimonitor setups, workspace previews sometimes dissapear from the picker on one of the displays Jul 11, 2024
@ids1024
Copy link
Member

ids1024 commented Jul 18, 2024

2de3669 may fix this.

@Kartonrealista
Copy link
Author

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
Copy link

jagg2 commented Aug 20, 2024

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
Copy link
Author

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
Copy link

nevdelap commented Aug 23, 2024

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 pop-os/cosmic-greeter#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
Copy link

nevdelap commented Sep 12, 2024

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?

@Kartonrealista Kartonrealista changed the title In multimonitor setups, workspace previews sometimes dissapear from the picker on one of the displays Workspace previews dissapear from the picker on one of the displays when monitor unplugged Sep 12, 2024
@nevdelap
Copy link

nevdelap commented Sep 13, 2024

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. I think it is only when I turn off my external monitor and turn it back on.

@Gdetrane
Copy link

This is also happening for me, I'm on fedora 40 csb. I can't seem to reproduce this bug consistently, but it often happens when plugging to a different external monitor.
The workspace preview in the space of my laptop monitor does not seem to be affected.
This happens on my external monitor at home, via HDMI, as well as monitors in my office, which use DP via usb-c, I believe.
I'll attach a dump of cpu-x in case is it's useful.

cpux.txt

@Gdetrane
Copy link

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.

@nevdelap Killing and restarting the workspaces applet works, I can confirm that

@NahsiN
Copy link

NahsiN commented Oct 12, 2024

This bug also affects me and is reproducible as follows:

  1. Plug in external monitor via HDMI. Workspaces view works on both monitors
  2. Suspend the laptop
  3. Unplug external monitor while laptop is suspended
  4. Wake up laptop and login
  5. Connect external monitor to same HDMI port. Workspaces view works on laptop monitor but is blank on external monitor as shown below:
    screenshot-2024-10-05-01-02-03

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.

I too confirm this works. Thank you so much for this workaround!

@locomot1f
Copy link

I had started a similar thread.

I've had this same issue as well.
With me, I've never unplugged my monitor.
It will always happen when I put my PC into Suspend mode.

thanks for the workaround.
talk soon.

@WatchMkr WatchMkr moved this to Alpha 5 in COSMIC Epoch 1 Dec 6, 2024
@WatchMkr WatchMkr added this to the alpha 5 milestone Dec 6, 2024
@WatchMkr WatchMkr modified the milestones: alpha 5, alpha 6 Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Alpha 6
Development

No branches or pull requests

8 participants