Bug 497968 - DisplayMode 'Dialog' of FormCardComboBoxDelegate is broken
Summary: DisplayMode 'Dialog' of FormCardComboBoxDelegate is broken
Status: CONFIRMED
Alias: None
Product: kirigami-addons
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 1.6.0
Platform: postmarketOS Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-28 06:55 UTC by Anders Lund
Modified: 2025-01-08 06:29 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Lund 2024-12-28 06:55:55 UTC
SUMMARY
When using the Dialog mode of FormCardComboBoxDelegate, the dialog is not closed, but stays open with multiple items appearing as selected.
Console ouptut: qrc:/qt/qml/org/kde/kirigamiaddons/formcard/FormComboBoxDelegate.qml:259: TypeError: Property 'close' of object QQmlComponent(0x56e5efd63ac0) is not a function

STEPS TO REPRODUCE
1.  open some app using FormCardComboBoxDelegate, commonly found in the settings pages. KRecorder for example.
2. Click an item using this configuration - for example Audio Source in KRecorder settings
3. There you go. The dialog can be dismissed by clicking outside it, but it's not nice.

OBSERVED RESULT
Widget doesn't close

EXPECTED RESULT
Widget should close

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: postmarketOS
KDE Plasma Version: 6.2.80 
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION
I see that in all instances of this widget on my desktop and plasma mobile devices
Comment 1 John Kizer 2025-01-08 06:29:21 UTC
Hi - I can reproduce this on Fedora KDE 41. Thanks for the bug report!