Bug 438246 - logs spammed with 'Binding loop detected for property "state"' warning
Summary: logs spammed with 'Binding loop detected for property "state"' warning
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.21.5
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-08 12:25 UTC by Erik Quaeghebeur
Modified: 2021-11-15 19:44 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

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