Bug 501810

Summary: QML ComboBox doesn't render ListElement in kcm_kwinrules.
Product: [Applications] systemsettings Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: kcm_kwinrulesAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: isma.af, plasma-bugs-null
Priority: NOR    
Version First Reported In: 6.3.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
URL: https://discussion.fedoraproject.org/t/gtk4-no-csd-is-there-really-no-way-to-disable-csd-on-gtk4/85798/4#:~:text=However%2C%20you%20might%20(hopefully%2C%20very%20temporarily)%20be%20unable%20to%2C%20if%20bugs.kde.org/show_bug.cgi?id=501810%20affects%20more%20than%20merely%20me
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: A Screenshot of "Force" Empty
A Screenshot of "Force" with 1 ListElement Selected
A Screenshot of "Force" with All ListElement Selected
A Screenshot of "Window class (application)" Empty
A Screenshot of "Window class (application)" with 1 ListElement Selected
A Screenshot of "Window class (application)" with All ListElement Selected
A Screenshot of "Match whole window class" with 1 ListElement Selected
A Screenshot of "Match whole window class" with All ListElement Selected

Description Roke Julian Lockhart Beedell 2025-03-20 21:14:22 UTC
SUMMARY

QML ComboBox doesn't render ListElement in kcm_kwinrules.

STEPS TO REPRODUCE

1.	Invoke kcm_kwinrules via kcmshell6 or systemsettings.
2.	Create or modify a ruleset.
3.	Invoke a ComboBox.

OBSERVED RESULT

I see some *really* weird behaviour (see the attached screenshots) with the undermentioned logs:

> qrc:/kcm/kcm_kwinrules/OptionsComboBox.qml:88: ReferenceError: bitMask is not defined  
> qrc:/kcm/kcm_kwinrules/OptionsComboBox.qml:101:17: Unable to assign [undefined] to QString  
> qrc:/kcm/kcm_kwinrules/OptionsComboBox.qml:115:13: Unable to assign [undefined] to QString  
> qrc:/kcm/kcm_kwinrules/OptionsComboBox.qml:88: ReferenceError: bitMask is not defined  
> qrc:/kcm/kcm_kwinrules/OptionsComboBox.qml:101:17: Unable to assign [undefined] to QString  
> qrc:/kcm/kcm_kwinrules/OptionsComboBox.qml:115:13: Unable to assign [undefined] to QString  
> qrc:/kcm/kcm_kwinrules/OptionsComboBox.qml:88: ReferenceError: bitMask is not defined  
> qrc:/kcm/kcm_kwinrules/OptionsComboBox.qml:101:17: Unable to assign [undefined] to QString  
> qrc:/kcm/kcm_kwinrules/OptionsComboBox.qml:115:13: Unable to assign [undefined] to QString  
> qrc:/kcm/kcm_kwinrules/OptionsComboBox.qml:88: ReferenceError: bitMask is not defined  
> qrc:/kcm/kcm_kwinrules/OptionsComboBox.qml:101:17: Unable to assign [undefined] to QString  
> qrc:/kcm/kcm_kwinrules/OptionsComboBox.qml:115:13: Unable to assign [undefined] to QString  
> qrc:/kcm/kcm_kwinrules/OptionsComboBox.qml:88: ReferenceError: bitMask is not defined  
> qrc:/kcm/kcm_kwinrules/OptionsComboBox.qml:101:17: Unable to assign [undefined] to QString  
> qrc:/kcm/kcm_kwinrules/OptionsComboBox.qml:115:13: Unable to assign [undefined] to QString  
> qrc:/kcm/kcm_kwinrules/OptionsComboBox.qml:88: ReferenceError: bitMask is not defined  
> qrc:/kcm/kcm_kwinrules/OptionsComboBox.qml:101:17: Unable to assign [undefined] to QString  
> qrc:/kcm/kcm_kwinrules/OptionsComboBox.qml:115:13: Unable to assign [undefined] to QString  
> qrc:/kcm/kcm_kwinrules/OptionsComboBox.qml:116: TypeError: Cannot read property 'length' of undefined  

EXPECTED RESULT

They should render.

SOFTWARE/OS VERSIONS

> Operating System: Fedora Linux 41  
> KDE Plasma Version: 6.3.3  
> KDE Frameworks Version: 6.12.0  
> Qt Version: 6.8.2  
> Kernel Version: 6.13.7-200.fc41.x86_64 (64-bit)  
> Graphics Platform: Wayland  

ADDITIONAL INFORMATION

I am using "plasma-systemsettings-6.3.3-1.fc41.x86_64".
Comment 1 Roke Julian Lockhart Beedell 2025-03-20 21:15:41 UTC
Created attachment 179610 [details]
A Screenshot of "Force" Empty
Comment 2 Roke Julian Lockhart Beedell 2025-03-20 21:16:16 UTC
Created attachment 179611 [details]
A Screenshot of "Force" with 1 ListElement Selected
Comment 3 Roke Julian Lockhart Beedell 2025-03-20 21:16:31 UTC
Created attachment 179612 [details]
A Screenshot of "Force" with All ListElement Selected
Comment 4 Roke Julian Lockhart Beedell 2025-03-20 21:18:05 UTC
Created attachment 179613 [details]
A Screenshot of "Window class (application)" Empty
Comment 5 Roke Julian Lockhart Beedell 2025-03-20 21:18:22 UTC
Created attachment 179614 [details]
A Screenshot of "Window class (application)" with 1 ListElement Selected
Comment 6 Roke Julian Lockhart Beedell 2025-03-20 21:18:43 UTC
Created attachment 179615 [details]
A Screenshot of "Window class (application)" with All ListElement Selected
Comment 7 Roke Julian Lockhart Beedell 2025-03-20 21:19:28 UTC
Created attachment 179616 [details]
A Screenshot of "Match whole window class" with 1 ListElement Selected
Comment 8 Roke Julian Lockhart Beedell 2025-03-20 21:19:39 UTC
Created attachment 179617 [details]
A Screenshot of "Match whole window class" with All ListElement Selected
Comment 9 Antonio Rojas 2025-03-20 21:45:01 UTC

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