https://bugs.winehq.org/show_bug.cgi?id=56278
Bug ID: 56278 Summary: wayland: dropdowns is rendered as toplevel Product: Wine Version: 9.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: hugo@whynothugo.nl Distribution: ---
When using the wayland driver, dropdown menus are rendered as their own toplevel windows.
On tiling window managers (e.g.: swaywm), this results in it being tiled just like any other window. I can't imagine that they would be placed correctly on stacking window managers either.
I confirmed with lswt that dropdowns are effectively rendered as toplevels. An xdg_popup should be used here instead: https://wayland.app/protocols/xdg-shell#xdg_popup
The weirdness in behaviour can be reproduced with:
- wine reg.exe add HKCU\Software\Wine\Drivers /v Graphics /d wayland - winecfg - Go to the desktop integration tab and click on any dropdown