wlroots
wlroots copied to clipboard
Xwayland menus don't open after output changes its coordinates
Xwayland menus don't open after output changes its coordinates. The easiest way to reproduce:
- Start sway, open VLC under Xwayland, open a menu, close the menu
- Hotplug an output, make sure that this actually changes the output coordinates of the first output (for example, if both were auto added to wlr_output_layout)
- Menus don't open anymore in VLC
The same happens in other Xwayland apps which have menus, I've reproduced the bug also with Konsole under Xwayland. Native wayland apps don't have this bug.
A side note: I managed to reproduce this in my compositor as well. There I can adjust output position at runtime, and if I move the output this way(without hotplugging), the same bug happens, even if I send the appropriate configure events (e.g moving the view according to the output layout change). This is the reason that makes me think this is a wlroots bug, not a sway-specific one. Feel free to close this however if you think everything is OK on the wlroots side.
wlroots has migrated to gitlab.freedesktop.org. This issue has been moved to:
https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/1056
Can you still reproduce?