Bug 492439

Summary: Clipboard barcode page "Change the QR code type" context menu not closed
Product: [Plasma] plasmashell Reporter: Orxcyd <orxcyd>
Component: Clipboard widget & pop-upAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: fella, nate
Priority: NOR    
Version: 6.1.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Result red arrow when context menu still open and directly close widget by clicking on desktop

Description Orxcyd 2024-08-31 03:55:22 UTC
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
Comment 1 Orxcyd 2024-08-31 10:50:27 UTC
This also happens in all widgets that have menu (dropdown), popup, or dialog.
Comment 2 Nate Graham 2024-09-07 07:53:49 UTC

*** This bug has been marked as a duplicate of bug 492493 ***