I recently switched to Ubuntu 22.04, and encountered this issue when switching workspaces:
I open a window (e.g. a text editor) on a given workspace, and interact with the window (e.g. write “test”). Then I switch to another workspace, using the default keyboard shortcut. When I switch back to the original workspace and want to continue typing, the text editor window is somehow not active, and a “Find files on Desktop” pop-up window opens.
I observe this problem not only with text editors, but also terminals, browser, etc.
Any ideas how to avoid this?