Bug 494421 - Error: OutputPanel.qml: Cannot assign [undefined] to $type
Summary: Error: OutputPanel.qml: Cannot assign [undefined] to $type
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kscreen (other bugs)
Version First Reported In: 6.2.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-10 12:34 UTC by postix
Modified: 2024-11-21 23:06 UTC (History)
3 users (show)

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


Attachments

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