Bug 467772 - QML error when selecting network connection
Summary: QML error when selecting network connection
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_networkmanagement (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-25 11:42 UTC by Martin Koller
Modified: 2025-01-13 17:20 UTC (History)
3 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 Martin Koller 2023-03-25 11:42:41 UTC
I open the network connections KCM and select any configure connection in the left list.
When started from konsole, I see the following error:

file:///usr/share/kcm_networkmanagement/qml/ListItem.qml:26: Error: Cannot assign to non-existent property "prefix"
Comment 1 Bernie Innocenti 2023-07-20 06:29:32 UTC
Confirmed on Plasma 5.27.6 and KF 5.108.0.

In fact, every time I switch to a new connection I see two of these errors:

```
file:///usr/share/kcm_networkmanagement/qml/ListItem.qml:25: Error: Cannot assign to non-existent property "prefix"
file:///usr/share/kcm_networkmanagement/qml/ListItem.qml:26: Error: Cannot assign to non-existent property "prefix"
```

These are the offending lines:

```
 25     onPressed: if (changeBackgroundOnPress) background.prefix = "pressed"
 26     onReleased: if (changeBackgroundOnPress) background.prefix = "normal"
 27     onCanceled: if (changeBackgroundOnPress) background.prefix = "normal"
```
Comment 2 David Edmundson 2025-01-13 17:20:24 UTC
This is no longer the case