Created attachment 173157 [details] Result red arrow when context menu still open and directly close widget by clicking on desktop SUMMARY I found a strange behavior when clicking on the context menu in the barcode page and displaying the dropdown menu, then closing the clipboard widget by directly clicking on the desktop, the context menu does not close and instead appears in the panel. STEPS TO REPRODUCE 1. Open Clipboard widget 2. Choose one then click barcode icon 3. Click the “Change QR code type” button on its right "Return to Clipboard" 4. Drop down menu will show 5. Don't click within widget window to close, straight clicking on the desktop to close widget instead OBSERVED RESULT EXPECTED RESULT When context menu still open and widget is closed directly by clicking on desktop or lose focus it's should close context menu also. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux x86_64 KDE Plasma Version: 6.1.4 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 ADDITIONAL INFORMATION
This also happens in all widgets that have menu (dropdown), popup, or dialog.
*** This bug has been marked as a duplicate of bug 492493 ***