In Google Chrome on ubuntu I have a problem: right-click and hamburger menus works fine ~5 times and after that in a ~50% cases they are disappeared immeiately after showing.
Also some dropdowns on some sites doesn't work fine (for example text color selection on google spreadsheets) - they work as if I just clicked on the window below menu.
This problem is fixed by restarting window manager but after 5 clicks it raises again.
What I tried without success:
- updted chrome to last stable version, updated all the packages used
- disabled all chrome extensions
- chromium instead of chrome
- changed ubuntu user
- updated ubuntu version from 20LTS to 22LTS
- used different window managers (lxde, icewm, fluxbox, i3wm, dwm, gnome_on_xorg, unity)
On Firefox those menus work fine.
Finally I found that in wayland-based window managers everything work fine (sway, gnome-on-wayland, fvwm)...
But is moving to wayland is the only way to fix it? Is there a way to fix it on xorg window managers?