Bug 488978 - Search field context menu only closes when clicking on its search field again, or another one
Summary: Search field context menu only closes when clicking on its search field again...
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: sidebarview (show other bugs)
Version: 6.1.0
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-22 12:47 UTC by Brodie Robertson
Modified: 2024-06-30 01:31 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Right-click menu will never give you up, let you down, run around, and desert you (2.57 MB, video/mp4)
2024-06-22 12:47 UTC, Brodie Robertson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brodie Robertson 2024-06-22 12:47:49 UTC
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
Comment 1 Oliver Beard 2024-06-22 12:48:56 UTC
Other uses of Kirigami's search fields, in KCMs or in other applications, work fine, so this is a unique issue with the sidebar.
Comment 2 Nate Graham 2024-06-27 04:39:05 UTC
Gotta be something like weird QQuickWidget focus handling.
Comment 3 Nate Graham 2024-06-30 01:31:44 UTC
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.