Bug 420249

Summary: plasmawindowed org.kde.plasma.networkmanagement under Sway WM / Wayland: Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Product: [Plasma] plasmashell Reporter: Dennis Schridde <heri+kde>
Component: Networks widgetAssignee: Jan Grulich <jgrulich>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=420243
https://bugs.kde.org/show_bug.cgi?id=420248
https://bugs.kde.org/show_bug.cgi?id=420251
Latest Commit: Version Fixed/Implemented In: 5.19
Sentry Crash Report:

Description Dennis Schridde 2020-04-18 13:34:01 UTC
SUMMARY
The org.kde.plasma.networkmanagement Plasmoid seems to have some trouble with its layout.  At least under Wayland.  (Did not check X11.)

STEPS TO REPRODUCE
1. Start a Sway WM session from SDDM
2. Open a terminal and execute `plasmawindowed org.kde.plasma.networkmanagement`
3. Wait (bug #420248)
4. Click on a connected wired network

OBSERVED RESULT

Visually everything seems fine, but on the terminal I see a lot of messages:
```
❯ plasmawindowed org.kde.plasma.networkmanagement
qt5ct: using qt5ct plugin
org.kde.plasmaquick: Applet preload policy set to 1
Couldn't start kglobalaccel from org.kde.kglobalaccel.service: QDBusError("org.freedesktop.DBus.Error.NoReply", "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.")
org.kde.plasma: requesting config for "Networks" without a containment!
qml: 0
DBusMenu disabled for this application
qrc:/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/PopupDialog.qml:74:27: QML ConnectionItem: Binding loop detected for property "height"
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
qrc:/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/PopupDialog.qml:74:27: QML ConnectionItem: Binding loop detected for property "height"
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
qrc:/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/PopupDialog.qml:74:27: QML ConnectionItem: Binding loop detected for property "height"
qrc:/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/ConnectionItem.qml:149:13: QML Loader: Binding loop detected for property "height"
qrc:/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/PopupDialog.qml:74:27: QML ConnectionItem: Binding loop detected for property "height"
qrc:/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/ConnectionItem.qml:149:13: QML Loader: Binding loop detected for property "height"
qrc:/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/PopupDialog.qml:74:27: QML ConnectionItem: Binding loop detected for property "height"
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
qrc:/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/PopupDialog.qml:74:27: QML ConnectionItem: Binding loop detected for property "height"
qrc:/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/ConnectionItem.qml:149:13: QML Loader: Binding loop detected for property "height"
qrc:/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/PopupDialog.qml:74:27: QML ConnectionItem: Binding loop detected for property "height"
qrc:/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/ConnectionItem.qml:149:13: QML Loader: Binding loop detected for property "height"
qrc:/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/PopupDialog.qml:74:27: QML ConnectionItem: Binding loop detected for property "height"
```

EXPECTED RESULT
No recursive rearranges and no binding loops.

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2
Kernel Version: 5.6.4
OS Type: 64-bit
Processors: 8 × AMD Ryzen 5 2400G with Radeon Vega Graphics
Memory: 13.5 GiB of RAM
Sway WM Version: 1.4

ADDITIONAL INFORMATION
Plasma / Network Management Plasmoid has some trouble under Sway WM / Wayland:
* https://bugs.kde.org/show_bug.cgi?id=420248
* https://bugs.kde.org/show_bug.cgi?id=420243
Comment 1 Nate Graham 2020-11-19 23:42:39 UTC
Fixed with the recent UI overhaul in Plasma 5.19.
Comment 2 Ben Cooksley 2024-12-23 18:25:56 UTC
Bulk transfer as requested in T17796