Created attachment 170815 [details] Right-click menu will never give you up, let you down, run around, and desert you SUMMARY If you open a right click menu on the search field it can only be closed by clicking on another search field, clicking anywhere else in the window will not close it. If you click on other menu options in the list of sections the right click menu appears on top of them STEPS TO REPRODUCE 1. Open a right click menu on the search field 2. Click elsewhere 3. It ain't no closen OBSERVED RESULT Right click menu only closes when clicking on another search field EXPECTED RESULT Right click menu not closing SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 6.1.0 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.1 ADDITIONAL INFORMATION
Other uses of Kirigami's search fields, in KCMs or in other applications, work fine, so this is a unique issue with the sidebar.
Gotta be something like weird QQuickWidget focus handling.
It's not the event filter in the sidebar widget. I noticed that the search field in the Networks KCM does the same thing. Could be a QQuickWidget issue in general, since the Networks KCM also consists of QML inside an embedded QQuickWidget.