Bug 438246

Summary: logs spammed with 'Binding loop detected for property "state"' warning
Product: [Plasma] plasmashell Reporter: Erik Quaeghebeur <bugs.kde.org>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: frederick888, kde, nate, postix, qydwhotmail
Priority: NOR    
Version First Reported In: 5.21.5   
Target Milestone: 1.0   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Erik Quaeghebeur 2021-06-08 12:25:51 UTC
In my logs, I find lots of repeated occurrences of the warning

<date> <time>	plasmashell	file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:26:1: QML Panel: Binding loop detected for property "state"

As far as I can tell, there are no issues caused by this, but it is annoying when looking through the logs for other things.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 5.10.27
(available in About System)
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-06-08 19:47:16 UTC
Yeah. Fixing this has been on my to-do list.
Comment 2 Joe Breuer 2021-10-20 17:51:41 UTC
I came across this in the context of another problem:

https://bugs.gentoo.org/818124

On my system, ksmserver-logout-greeter logs this specific diagnostic (Panel.qml: Binding loop detected for property "state") ONLY in the intermittently failing case.
Comment 3 Bug Janitor Service 2021-10-30 02:56:30 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/666
Comment 4 Nate Graham 2021-11-15 19:44:42 UTC
Git commit 297958c486c77ad9e557893a58f8b22ef8a06c58 by Nate Graham, on behalf of Fushan Wen.
Committed on 15/11/2021 at 19:44.
Pushed by ngraham into branch 'master'.

Panel: Fix binding loop warning when switching between virtual desktops

containment.containmentDisplayHints should be set after state is
changed. This prevents a binding loop warning.

M  +8    -18   desktoppackage/contents/views/Panel.qml

https://invent.kde.org/plasma/plasma-desktop/commit/297958c486c77ad9e557893a58f8b22ef8a06c58