I recently installed Ubuntu 23.04 from scratch, using GNOME Shell. I still use some ~GTK2~ Xwayland apps (e.g. Synaptic and Audacity / Tenacity ~via wx~).
The behavior they present is quite strange. At first they work normally, but soon become seemingly unresponsive. Sometimes just entering Overview mode (say, hitting the Super key), makes the app update its content, and I can see that it was not really unresponsive but simply not showing me updates.
It's quite different for each app. Guake unblocks immediately after going into overview mode. Chrome just needed a few seconds to come back. Synaptic and Tenacity seemingly have trouble with input events (hover stops working, drag and drop fails as well).
I updated the title to reflect that now I believe it is related to XWayland, because something similar (but much less pronounced) happened to me using Chrome, but soon I switched it to Wayland and it stopped doing that.
It also happens (SELDOMLY) with Guake which is an XWayland surface.
I tried searching for this and couldn't find anything, apologies if this has been asked before.
Short video showing the weird behavior on Tenacity: https://youtu.be/Dvjdzkns714 (update: I just realized that it's really hard to see that I'm dragging around and nothing happens)
-- nachokb