Bug 501810 - QML ComboBox doesn't render ListElement in kcm_kwinrules.
Summary: QML ComboBox doesn't render ListElement in kcm_kwinrules.
Status: RESOLVED DUPLICATE of bug 501357
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kwinrules (show other bugs)
Version: 6.3.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL: https://discussion.fedoraproject.org/...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-20 21:14 UTC by Roke Julian Lockhart Beedell
Modified: 2025-03-20 21:45 UTC (History)
2 users (show)

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


Attachments
A Screenshot of "Force" Empty (73.18 KB, image/png)
2025-03-20 21:15 UTC, Roke Julian Lockhart Beedell
Details
A Screenshot of "Force" with 1 ListElement Selected (73.49 KB, image/png)
2025-03-20 21:16 UTC, Roke Julian Lockhart Beedell
Details
A Screenshot of "Force" with All ListElement Selected (74.30 KB, image/png)
2025-03-20 21:16 UTC, Roke Julian Lockhart Beedell
Details
A Screenshot of "Window class (application)" Empty (71.81 KB, image/png)
2025-03-20 21:18 UTC, Roke Julian Lockhart Beedell
Details
A Screenshot of "Window class (application)" with 1 ListElement Selected (72.19 KB, image/png)
2025-03-20 21:18 UTC, Roke Julian Lockhart Beedell
Details
A Screenshot of "Window class (application)" with All ListElement Selected (72.58 KB, image/png)
2025-03-20 21:18 UTC, Roke Julian Lockhart Beedell
Details
A Screenshot of "Match whole window class" with 1 ListElement Selected (67.36 KB, image/png)
2025-03-20 21:19 UTC, Roke Julian Lockhart Beedell
Details
A Screenshot of "Match whole window class" with All ListElement Selected (68.95 KB, image/png)
2025-03-20 21:19 UTC, Roke Julian Lockhart Beedell
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***