Bug 500338 - QML SpinBox: Binding loop detected for property "implicitWidth": qrc:/qt/qml/org/kde/plasma/components/SpinBox.qml:20:5
Summary: QML SpinBox: Binding loop detected for property "implicitWidth": qrc:/qt/qml/...
Status: RESOLVED FIXED
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: components (other bugs)
Version First Reported In: 6.1
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-18 19:07 UTC by hbr
Modified: 2025-03-11 15:51 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.4.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hbr 2025-02-18 19:07:50 UTC
SUMMARY
Opening the panel configuration logs the following error messages to the journal:

plasmashell[1267]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/PanelConfiguration.qml:607:9: QML SpinBox: Binding loop detected for property "implicitWidth": qrc:/qt/qml/org/kde/plasma/components/SpinBox.qml:20:5

plasmashell[1267]: file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/ConfigOverlay.qml:349:17: QML SpinBox: Binding loop detected for property "implicitWidth": qrc:/qt/qml/org/kde/plasma/components/SpinBox.qml:20:5

plasmashell[1267]: kf.plasma.quick: Exposed with no visual parent. Window positioning broken.

STEPS TO REPRODUCE
1. Open the panel configuration (e.g. right click on panel, click on "Show panel configuration")
2. Close the panel configuration
3. Check the journal

OBSERVED RESULT
The above error messages appears in the journal.

EXPECTED RESULT
No error happens / error message gets logged.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.3.1
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7800X3D 8-Core Processor
Memory: 30,9 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XTX
Manufacturer: ASRock
Product Name: X670E Steel Legend
Comment 1 cwo 2025-03-11 15:51:56 UTC
Git commit c01eb1db8382c78f24313f700732ed3481005a6d by Christoph Wolk.
Committed on 11/03/2025 at 15:44.
Pushed by cwo into branch 'master'.

PC3/SpinBox: don't read implicitsize of loader before it's ready

Spinbox uses a Loader to conditionally load the editable or non-editable
version of the textinput background. The Loader coming in confuses the
implicit size assignment and leads to a binding loop for a moment before
settling on a proper value. This seems harmless, but causes a warning to
be printed each time a PC3 SpinBox is created.

Instead, just wait until the Loader is ready, and consider its implicit
size to be 0 until then.
FIXED-IN: 6.4.0

M  +2    -2    src/declarativeimports/plasmacomponents3/SpinBox.qml

https://invent.kde.org/plasma/libplasma/-/commit/c01eb1db8382c78f24313f700732ed3481005a6d