Bug 494421

Summary: Error: OutputPanel.qml: Cannot assign [undefined] to $type
Product: [Applications] systemsettings Reporter: postix <postix>
Component: kcm_kscreenAssignee: kscreen-bugs-null <kscreen-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: izerpizer, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 6.2.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description postix 2024-10-10 12:34:41 UTC
SUMMARY

```
systemsettings: qrc:/kcm/kcm_kscreen/OutputPanel.qml:414: Error: Cannot assign [undefined] to int
systemsettings: qrc:/kcm/kcm_kscreen/OutputPanel.qml:260: Error: Cannot assign [undefined] to QString
systemsettings: qrc:/kcm/kcm_kscreen/OutputPanel.qml:64: Unable to assign [undefined] to int
systemsettings: qrc:/kcm/kcm_kscreen/OutputPanel.qml:137: Unable to assign [undefined] to int
systemsettings: qrc:/kcm/kcm_kscreen/OutputPanel.qml:28:8: Unable to assign [undefined] to bool
systemsettings: qrc:/kcm/kcm_kscreen/OutputPanel.qml:72: TypeError: Cannot read property '0' of undefined
systemsettings: qrc:/kcm/kcm_kscreen/Orientation.qml:22:9: Unable to assign [undefined] to bool
systemsettings: qrc:/kcm/kcm_kscreen/OutputPanel.qml:145: TypeError: Cannot read property '0' of undefined
systemsettings: qrc:/kcm/kcm_kscreen/OutputPanel.qml:176:13: Unable to assign [undefined] to int
systemsettings: qrc:/kcm/kcm_kscreen/OutputPanel.qml:237:13: Unable to assign [undefined] to bool
systemsettings: qrc:/kcm/kcm_kscreen/OutputPanel.qml:321:13: Unable to assign [undefined] to bool
systemsettings: qrc:/kcm/kcm_kscreen/OutputPanel.qml:345:13: Unable to assign [undefined] to double
systemsettings: qrc:/kcm/kcm_kscreen/OutputPanel.qml:342:13: Unable to assign [undefined] to double
systemsettings: qrc:/kcm/kcm_kscreen/OutputPanel.qml:352:13: Unable to assign [undefined] to int
systemsettings: qrc:/kcm/kcm_kscreen/OutputPanel.qml:350:13: Unable to assign [undefined] to int
systemsettings: qrc:/kcm/kcm_kscreen/Output.qml:32:5: Unable to assign [undefined] to bool
systemsettings: qrc:/kcm/kcm_kscreen/Output.qml:17:5: Unable to assign [undefined] to QSizeF
systemsettings: qrc:/kcm/kcm_kscreen/Output.qml:115:17: Unable to assign [undefined] to QString
systemsettings: qrc:/kcm/kcm_kscreen/Output.qml:125: TypeError: Cannot read property 'width' of undefined
systemsettings: qrc:/kcm/kcm_kscreen/Output.qml:213: TypeError: Cannot read property 'x' of undefined
systemsettings: qrc:/kcm/kcm_kscreen/Output.qml:235: TypeError: Value is undefined and could not be converted to an object
```

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20241007
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Kernel Version: 6.11.2-1-default (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 580 Series

ADDITIONAL INFORMATION
Comment 1 Kalcifer 2024-10-12 21:06:36 UTC
I have the same issue. My tablet (Wacom One) is now unuseable — it just shows displays a grey screen with no cursor, no windows, no desktop background or anything.
```
qrc:/kcm/kcm_kscreen/OutputPanel.qml:414: Error: Cannot assign [undefined] to int
qrc:/kcm/kcm_kscreen/OutputPanel.qml:260: Error: Cannot assign [undefined] to QString
qrc:/kcm/kcm_kscreen/OutputPanel.qml:64: Unable to assign [undefined] to int
qrc:/kcm/kcm_kscreen/OutputPanel.qml:137: Unable to assign [undefined] to int
qrc:/kcm/kcm_kscreen/OutputPanel.qml:28:8: Unable to assign [undefined] to bool
qrc:/kcm/kcm_kscreen/OutputPanel.qml:72: TypeError: Cannot read property '0' of undefined
qrc:/kcm/kcm_kscreen/Orientation.qml:22:9: Unable to assign [undefined] to bool
qrc:/kcm/kcm_kscreen/OutputPanel.qml:145: TypeError: Cannot read property '0' of undefined
qrc:/kcm/kcm_kscreen/OutputPanel.qml:176:13: Unable to assign [undefined] to int
qrc:/kcm/kcm_kscreen/OutputPanel.qml:237:13: Unable to assign [undefined] to bool
qrc:/kcm/kcm_kscreen/OutputPanel.qml:321:13: Unable to assign [undefined] to bool
qrc:/kcm/kcm_kscreen/OutputPanel.qml:345:13: Unable to assign [undefined] to double
qrc:/kcm/kcm_kscreen/OutputPanel.qml:342:13: Unable to assign [undefined] to double
qrc:/kcm/kcm_kscreen/OutputPanel.qml:352:13: Unable to assign [undefined] to int
qrc:/kcm/kcm_kscreen/OutputPanel.qml:350:13: Unable to assign [undefined] to int
qrc:/kcm/kcm_kscreen/OutputPanel.qml:414: Error: Cannot assign [undefined] to int
qrc:/kcm/kcm_kscreen/OutputPanel.qml:260: Error: Cannot assign [undefined] to QString
qrc:/kcm/kcm_kscreen/OutputPanel.qml:64: Unable to assign [undefined] to int
qrc:/kcm/kcm_kscreen/OutputPanel.qml:137: Unable to assign [undefined] to int
qrc:/kcm/kcm_kscreen/OutputPanel.qml:28:8: Unable to assign [undefined] to bool
qrc:/kcm/kcm_kscreen/OutputPanel.qml:72: TypeError: Cannot read property '0' of undefined
qrc:/kcm/kcm_kscreen/Orientation.qml:22:9: Unable to assign [undefined] to bool
qrc:/kcm/kcm_kscreen/OutputPanel.qml:145: TypeError: Cannot read property '0' of undefined
qrc:/kcm/kcm_kscreen/OutputPanel.qml:176:13: Unable to assign [undefined] to int
qrc:/kcm/kcm_kscreen/OutputPanel.qml:237:13: Unable to assign [undefined] to bool
qrc:/kcm/kcm_kscreen/OutputPanel.qml:321:13: Unable to assign [undefined] to bool
qrc:/kcm/kcm_kscreen/OutputPanel.qml:345:13: Unable to assign [undefined] to double
qrc:/kcm/kcm_kscreen/OutputPanel.qml:342:13: Unable to assign [undefined] to double
qrc:/kcm/kcm_kscreen/OutputPanel.qml:352:13: Unable to assign [undefined] to int
qrc:/kcm/kcm_kscreen/OutputPanel.qml:350:13: Unable to assign [undefined] to int
qrc:/kcm/kcm_kscreen/OutputPanel.qml:414: Error: Cannot assign [undefined] to int
qrc:/kcm/kcm_kscreen/OutputPanel.qml:260: Error: Cannot assign [undefined] to QString
qrc:/kcm/kcm_kscreen/OutputPanel.qml:64: Unable to assign [undefined] to int
qrc:/kcm/kcm_kscreen/OutputPanel.qml:137: Unable to assign [undefined] to int
qrc:/kcm/kcm_kscreen/OutputPanel.qml:28:8: Unable to assign [undefined] to bool
qrc:/kcm/kcm_kscreen/OutputPanel.qml:72: TypeError: Cannot read property '0' of undefined
qrc:/kcm/kcm_kscreen/Orientation.qml:22:9: Unable to assign [undefined] to bool
qrc:/kcm/kcm_kscreen/OutputPanel.qml:145: TypeError: Cannot read property '0' of undefined
qrc:/kcm/kcm_kscreen/OutputPanel.qml:176:13: Unable to assign [undefined] to int
qrc:/kcm/kcm_kscreen/OutputPanel.qml:237:13: Unable to assign [undefined] to bool
qrc:/kcm/kcm_kscreen/OutputPanel.qml:321:13: Unable to assign [undefined] to bool
qrc:/kcm/kcm_kscreen/OutputPanel.qml:345:13: Unable to assign [undefined] to double
qrc:/kcm/kcm_kscreen/OutputPanel.qml:342:13: Unable to assign [undefined] to double
qrc:/kcm/kcm_kscreen/OutputPanel.qml:352:13: Unable to assign [undefined] to int
qrc:/kcm/kcm_kscreen/OutputPanel.qml:350:13: Unable to assign [undefined] to int
qrc:/kcm/kcm_kscreen/Output.qml:32:5: Unable to assign [undefined] to bool
qrc:/kcm/kcm_kscreen/Output.qml:17:5: Unable to assign [undefined] to QSizeF
qrc:/kcm/kcm_kscreen/Output.qml:115:17: Unable to assign [undefined] to QString
qrc:/kcm/kcm_kscreen/Output.qml:125: TypeError: Cannot read property 'width' of undefined
qrc:/kcm/kcm_kscreen/Output.qml:213: TypeError: Cannot read property 'x' of undefined
qrc:/kcm/kcm_kscreen/Output.qml:235: TypeError: Value is undefined and could not be converted to an object
qrc:/kcm/kcm_kscreen/Output.qml:32:5: Unable to assign [undefined] to bool
qrc:/kcm/kcm_kscreen/Output.qml:17:5: Unable to assign [undefined] to QSizeF
qrc:/kcm/kcm_kscreen/Output.qml:115:17: Unable to assign [undefined] to QString
qrc:/kcm/kcm_kscreen/Output.qml:125: TypeError: Cannot read property 'width' of undefined
qrc:/kcm/kcm_kscreen/Output.qml:213: TypeError: Cannot read property 'x' of undefined
qrc:/kcm/kcm_kscreen/Output.qml:235: TypeError: Value is undefined and could not be converted to an object
qrc:/kcm/kcm_kscreen/Output.qml:32:5: Unable to assign [undefined] to bool
qrc:/kcm/kcm_kscreen/Output.qml:17:5: Unable to assign [undefined] to QSizeF
qrc:/kcm/kcm_kscreen/Output.qml:115:17: Unable to assign [undefined] to QString
qrc:/kcm/kcm_kscreen/Output.qml:125: TypeError: Cannot read property 'width' of undefined
qrc:/kcm/kcm_kscreen/Output.qml:213: TypeError: Cannot read property 'x' of undefined
qrc:/kcm/kcm_kscreen/Output.qml:235: TypeError: Value is undefined and could not be converted to an object
```
Comment 2 Kalcifer 2024-10-12 21:07:57 UTC
(In reply to Kalcifer from comment #1)
> I have the same issue. My tablet (Wacom One) is now unuseable — it just
> shows displays a grey screen with no cursor, no windows, no desktop
> background or anything.
> ```
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:414: Error: Cannot assign [undefined]
> to int
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:260: Error: Cannot assign [undefined]
> to QString
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:64: Unable to assign [undefined] to int
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:137: Unable to assign [undefined] to int
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:28:8: Unable to assign [undefined] to
> bool
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:72: TypeError: Cannot read property '0'
> of undefined
> qrc:/kcm/kcm_kscreen/Orientation.qml:22:9: Unable to assign [undefined] to
> bool
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:145: TypeError: Cannot read property
> '0' of undefined
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:176:13: Unable to assign [undefined] to
> int
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:237:13: Unable to assign [undefined] to
> bool
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:321:13: Unable to assign [undefined] to
> bool
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:345:13: Unable to assign [undefined] to
> double
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:342:13: Unable to assign [undefined] to
> double
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:352:13: Unable to assign [undefined] to
> int
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:350:13: Unable to assign [undefined] to
> int
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:414: Error: Cannot assign [undefined]
> to int
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:260: Error: Cannot assign [undefined]
> to QString
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:64: Unable to assign [undefined] to int
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:137: Unable to assign [undefined] to int
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:28:8: Unable to assign [undefined] to
> bool
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:72: TypeError: Cannot read property '0'
> of undefined
> qrc:/kcm/kcm_kscreen/Orientation.qml:22:9: Unable to assign [undefined] to
> bool
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:145: TypeError: Cannot read property
> '0' of undefined
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:176:13: Unable to assign [undefined] to
> int
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:237:13: Unable to assign [undefined] to
> bool
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:321:13: Unable to assign [undefined] to
> bool
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:345:13: Unable to assign [undefined] to
> double
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:342:13: Unable to assign [undefined] to
> double
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:352:13: Unable to assign [undefined] to
> int
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:350:13: Unable to assign [undefined] to
> int
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:414: Error: Cannot assign [undefined]
> to int
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:260: Error: Cannot assign [undefined]
> to QString
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:64: Unable to assign [undefined] to int
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:137: Unable to assign [undefined] to int
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:28:8: Unable to assign [undefined] to
> bool
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:72: TypeError: Cannot read property '0'
> of undefined
> qrc:/kcm/kcm_kscreen/Orientation.qml:22:9: Unable to assign [undefined] to
> bool
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:145: TypeError: Cannot read property
> '0' of undefined
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:176:13: Unable to assign [undefined] to
> int
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:237:13: Unable to assign [undefined] to
> bool
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:321:13: Unable to assign [undefined] to
> bool
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:345:13: Unable to assign [undefined] to
> double
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:342:13: Unable to assign [undefined] to
> double
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:352:13: Unable to assign [undefined] to
> int
> qrc:/kcm/kcm_kscreen/OutputPanel.qml:350:13: Unable to assign [undefined] to
> int
> qrc:/kcm/kcm_kscreen/Output.qml:32:5: Unable to assign [undefined] to bool
> qrc:/kcm/kcm_kscreen/Output.qml:17:5: Unable to assign [undefined] to QSizeF
> qrc:/kcm/kcm_kscreen/Output.qml:115:17: Unable to assign [undefined] to
> QString
> qrc:/kcm/kcm_kscreen/Output.qml:125: TypeError: Cannot read property 'width'
> of undefined
> qrc:/kcm/kcm_kscreen/Output.qml:213: TypeError: Cannot read property 'x' of
> undefined
> qrc:/kcm/kcm_kscreen/Output.qml:235: TypeError: Value is undefined and could
> not be converted to an object
> qrc:/kcm/kcm_kscreen/Output.qml:32:5: Unable to assign [undefined] to bool
> qrc:/kcm/kcm_kscreen/Output.qml:17:5: Unable to assign [undefined] to QSizeF
> qrc:/kcm/kcm_kscreen/Output.qml:115:17: Unable to assign [undefined] to
> QString
> qrc:/kcm/kcm_kscreen/Output.qml:125: TypeError: Cannot read property 'width'
> of undefined
> qrc:/kcm/kcm_kscreen/Output.qml:213: TypeError: Cannot read property 'x' of
> undefined
> qrc:/kcm/kcm_kscreen/Output.qml:235: TypeError: Value is undefined and could
> not be converted to an object
> qrc:/kcm/kcm_kscreen/Output.qml:32:5: Unable to assign [undefined] to bool
> qrc:/kcm/kcm_kscreen/Output.qml:17:5: Unable to assign [undefined] to QSizeF
> qrc:/kcm/kcm_kscreen/Output.qml:115:17: Unable to assign [undefined] to
> QString
> qrc:/kcm/kcm_kscreen/Output.qml:125: TypeError: Cannot read property 'width'
> of undefined
> qrc:/kcm/kcm_kscreen/Output.qml:213: TypeError: Cannot read property 'x' of
> undefined
> qrc:/kcm/kcm_kscreen/Output.qml:235: TypeError: Value is undefined and could
> not be converted to an object
> ```

I forgot to mention:
- OS: Arch Linux, Kernel v6.6.56-1-lts
- KDE Plasma v6.2.0
Comment 3 Nate Graham 2024-11-21 23:06:04 UTC
Seems to be fixed in master.