26

Searching for this on the world-wide-weight shows this issue

https://gitlab.gnome.org/GNOME/mutter/-/issues/3404

This is my exact problem

If I minimize the desktop and try again the click on the app works fine. Apps include

  • Chrome
  • VS Code

Thanks

bibble235
  • 467

2 Answers2

30

UPDATE: This issue seems to have been fixed in current 24.04 (see my last link with the bug report).

The bug report says this happens with apps that require Wayland-compatibility through Xwayland (e.g., VS Code, Steam or old GTK apps).

Until a fix comes about, the following command seems to fix the issue (but not permanently - when you reboot the issue reappears):

pkill mutter-x11-fram

The issue seems to be caused by a race condition (sometimes one program runs before another), killing mutter-x11-fram forces it to restart and solves that race condition. But I am not an expert - please read the bug report for more information.

I have not tested this, but people are reporting that disabling auto login also works and fixes it permanently.

The issue has been fixed upstream (see the bug report above), but it has not been fixed yet in downstream Ubuntu (see here the Ubuntu bug report).

-1

I also encountered this issue and my graphics card driver is nvidia-driver-535. It seems that the 24.04 ubuntu-gnome-desktop has some compatibility problems with the nvidia-driver-***, and this issue was solved after I removed the nvidia driver and used the X.Org driver. I don't know your dirver version and this method is not elegant, but it may give you a way to solve this annoying issue.