Thanks so much for sharing this project, how exciting! <3
I did notice one issue in a mouse-driven work flow, to reproduce:
open cosmic-edit in workspace 1, click in it to ensure it has focus
use Super+2 to switch to workspace 2 and open cosmic-files there, click in it to ensure it has focus
use Super+1 and Super+2 to switch back and forth, and observe that both app windows have focus when their workspace is focused (as expected)
use the mouse to click on the "1" and "2" in the workspace applet to switch back and forth, and observe that neither app window has focus now (is this expected?)
I think this is sort of related to https://github.com/pop-os/cosmic-comp/issues/439 but I reported it here because I think the solution could be implemented in or across a number of different components
Thanks so much for sharing this project, how exciting! <3
I did notice one issue in a mouse-driven work flow, to reproduce:
cosmic-edit
in workspace 1, click in it to ensure it has focuscosmic-files
there, click in it to ensure it has focus