https://bugs.kde.org/show_bug.cgi?id=479989
Bug ID: 479989 Summary: The popup menu of Xwayland window cannot close by clicking on the title bar Classification: Plasma Product: kwin Version: master Platform: Other OS: Other Status: REPORTED Severity: normal Priority: NOR Component: core Assignee: kwin-bugs-n...@kde.org Reporter: liuji...@kylinos.cn Target Milestone: --- SUMMARY *** Xwayland popup menu will close if its mainwindow deactivate or click on the area outside of the popup menu but inside of the mainwindow. If we click on title bar the xwayland window can't recieve the mouse click event and it is still active, so its popup menu doesn't close. This causes the popup menu to detach from the main window position when we drag the xwayland window. Qt popup menu, gtk popup menu and some browser menu all have this issue. *** STEPS TO REPRODUCE 1. Open a xwayland window with popup menu; 2. Open the popup menu; 3. Clicked on the title bar of the xwayland window. OBSERVED RESULT The popup menu will still be open. EXPECTED RESULT The popup menu auto closed. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Xwayland window with popup menu. (available in About System) KDE Plasma Version: Plasma 6 Beta 2 KDE Frameworks Version: Qt Version: 6.6.0 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.