User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0
Steps to reproduce:
- In a wayland compositor (weston for example) open Firefox nightly with GDK_BACKEND=wayland
- Right click on the right edge of the firefox window
The context menu is rendered partly outside the firefox window.
The context menu should've been re-positioned to appear fully within the firefox window.
This is caused by firefox using the deprecated gtk-menu-popup. This should be updated for Wayland backends. In addition to popups being rendered off-screen, they are also mispositioned away from the point of the right-click. Here are a couple of relevant links:
This affects the behavior of firefox wayland on Sway WM for example: