cosmic-applets icon indicating copy to clipboard operation
cosmic-applets copied to clipboard

[bug] numbered workspace-applet thinks it's on two workspaces at the same time

Open feikedonia opened this issue 1 year ago • 3 comments

Numbered workspace-applet shows the selected workspace as both number one and three, while it should only display number one image

Steps to reproduce

  1. have the numbered workspace-applet

  2. have a external monitor plugged in

  3. have windows on multiple workspaces and multiple monitors

  4. be on workspace three

  5. disconnect the external monitor

  6. the workspaces of the external monitor should transfer to the internal monitor

  7. reconnect the external monitor

  8. the workspaces from the previously connected monitor should retransfer back to the external monitor

  9. try to switch workspaces with the numbered workspace-applet to no. one

  10. no. three and no. one think both that they are the active workspace:

  11. if you click on the '3' then you get the Workspace-overview, containing Workspace One's windows and those of workspace Three; instead of going to the third workspace! So the number '3' acts now as if it is the 'workspaces' button, in stead of the 'numbered workspace-applet'

It looks like workspace 3 is fused together with whatever the 'real' active workspace is.

image

cosmic-session-git 1.0.0.alpha.5.r1.g38e3686-1

feikedonia avatar Jan 14 '25 13:01 feikedonia

When you swap workspaces using a different method (keyboard-shortcut, or whatever) then workspaces 3 unsticks)

feikedonia avatar Jan 14 '25 13:01 feikedonia

I literally had the same issue again Image

But only when I connected to an external monitor...

Systeminfo Fedora 40 cosmic-comp-1.0.0~alpha.5.1^git20250128.63995c4-1.fc40.x86_64 GPU: intel CPU: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz Kernel: 6.12.11-100.fc40.x86_64 Laptop, with external display which is an older square monitor, which I use with an hdmi-vga converter to work with.

feikedonia avatar Feb 11 '25 15:02 feikedonia

https://github.com/pop-os/cosmic-comp/pull/1299 should fix at least one case where this can happen, though there may be other edge cases.

ids1024 avatar Mar 13 '25 01:03 ids1024