Bug 402252 - Binding loop detected for property "height" in KickoffItem.qml
Summary: Binding loop detected for property "height" in KickoffItem.qml
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) widget (other bugs)
Version First Reported In: master
Platform: unspecified Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-17 18:20 UTC by Filip Fila
Modified: 2018-12-19 12:56 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Fila 2018-12-17 18:20:52 UTC
SUMMARY
file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/KickoffItem.qml:114:5: QML QQuickText: Binding loop detected for property "height".


STEPS TO REPRODUCE
1. Use master 
2. Run plasmashell in a terminal
3. Open Kickoff

OBSERVED RESULT
Binding loop.

EXPECTED RESULT
No binding loop.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon Developer Edition Unstable (17/12/2018)
KDE Plasma Version: 5.14.80
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.2
Comment 1 David Edmundson 2018-12-19 12:56:19 UTC
Git commit be189b0ce2b728cf7e3721b381c24a418d2d1e77 by David Edmundson.
Committed on 19/12/2018 at 12:56.
Pushed by davidedmundson into branch 'master'.

remove binding loop in KickoffItem

Summary:
For non-wrapped text, implicitHeight will be the height of the
paintedText. The key difference is it won't re-evaluate except on text
changing which removes the binding loop.

Test Plan:
Opened kickoff
Looked identical
No more warnings

Reviewers: #plasma, broulik

Reviewed By: #plasma, broulik

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D17642

M  +4    -4    applets/kickoff/package/contents/ui/KickoffItem.qml

https://commits.kde.org/plasma-desktop/be189b0ce2b728cf7e3721b381c24a418d2d1e77