| Summary: | QML SpinBox: Binding loop detected for property "implicitWidth" and "implicitHeight" | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-qqc2-desktop-style | Reporter: | george fb <georgefb899> |
| Component: | general | Assignee: | Marco Martin <notmart> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ahiemstra, kde, nate, noahadvs, qydwhotmail, uhhadd |
| Priority: | NOR | ||
| Version First Reported In: | 5.88.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/frameworks/qqc2-desktop-style/commit/7c97810f53e7ad89002b4afcadc9fe40cbcff3e0 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
george fb
2021-12-02 02:02:02 UTC
Git commit 7c97810f53e7ad89002b4afcadc9fe40cbcff3e0 by Méven Car, on behalf of David Edmundson. Committed on 07/12/2021 at 08:31. Pushed by ngraham into branch 'master'. Fix binding loop in Spinbox There is currently a loop: - upRect changes whenever the size of the background changes - when upRect changes we adjust both margins and minimum size. This adjusts the size of the background - upRect changes whenever the size of the background changes Our requirements are: - we want the size hint from this once to calculate a minimum size and margins - we need the position constantly updated so the up indicator can be in the right place Using two properties allows us to separate our two requirements M +13 -12 org.kde.desktop/SpinBox.qml https://invent.kde.org/frameworks/qqc2-desktop-style/commit/7c97810f53e7ad89002b4afcadc9fe40cbcff3e0 |