Bug 467772

Summary: QML error when selecting network connection
Product: [Applications] systemsettings Reporter: Martin Koller <kollix>
Component: kcm_networkmanagementAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: bernie, jgrulich, kde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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