http://bugs.winehq.org/show_bug.cgi?id=60208 Bug ID: 60208 Summary: BonziBuddy: Microsoft Agent context menu is never dismissed on a Wayland session (Xwayland) Product: Wine Version: 11.15 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@list.winehq.org Reporter: wehrwolfmann@gmail.com Target Milestone: --- Distribution: --- Created attachment 81897 --> http://bugs.winehq.org/attachment.cgi?id=81897 test program: ownerless WS_POPUP window with TrackPopupMenu BonziBuddy is a desktop assistant from 2002 that draws a cartoon character on top of everything else and opens a Microsoft Agent context menu when you right click it. Under Wine the character works fine, but the menu never goes away: it opens where I expect it, and then clicking anywhere outside it does nothing at all, and Escape does not close it either. The only things that dismiss it are picking one of its own items or clicking back on the character. About versions, so nobody wastes time: I could only watch BonziBuddy itself on Wine 10.0, because on anything newer the Microsoft Agent character does not load at all, which is bug 60177. The attached test program needs no Microsoft Agent and behaves exactly the same way on 11.15, which is the version I put on this report. Both were a 64 bit prefix running a 32 bit application on KDE Plasma 6.7.4 with KWin 6.7.4 as a Wayland session, so it goes through winex11.drv on Xwayland. On a plain X server (I used Xvfb) the same binaries close their menus normally, so it is the Xwayland side that makes the difference. The test program opens an ordinary window and an ownerless WS_POPUP tool window with WS_EX_NOACTIVATE, the way Microsoft Agent creates the window its character lives in, shows a plain TrackPopupMenu context menu on right click in either of them and prints to stderr when a menu opens and when the menu loop ends. On a plain X server both menus close on a click elsewhere and print WM_EXITMENULOOP and the TrackPopupMenu return value. In the Wayland session the ordinary window still behaves, and so does the File menu of builtin notepad, but the popup window's menu never closes and never prints anything. While such a menu is stuck, xdotool getwindowfocus reports a window that does not belong to Wine at all, which would explain the dead Escape key. I can build and test any proposed fix. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.