Glam Prestige Journal

Bright entertainment trends with youth appeal.

I recently switched to Ubuntu 22.04, and encountered this issue when switching workspaces:

I open a window (e.g. a text editor) on an 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?

Example screen recording

2

1 Answer

The bug causing active windows to de-focus when switching workspaces has been described here:

Apparently this only happens when using Xorg. I was using Xorg; Wayland was disabled because of an issue with nvidia drivers described here: Can't use Wayland with Nvidia 510 drivers on Ubuntu 22.04 LTS

I was able to enable Wayland by setting WaylandEnable=true in /etc/gdm3/custom.conf, in combination with the hack described here:

With Wayland enabled, the problem with windows losing focus is gone. But I do have serious graphics glitches now (flickering, windows briefly disappearing).

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy