Bug 360367

Summary: Error message in Splash.qml : Binding loop detected for property "sourceSize.width"
Product: [Plasma] plasmashell Reporter: Laurent Bonnaud <L.Bonnaud>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal CC: bshah, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.5.5   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Laurent Bonnaud 2016-03-10 16:37:03 UTC
Hi,

my .xsession-errors file contains many error messages.  The first one is:

file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/splash/Splash.qml:50:13: QML Image: Binding loop detected for property "sourceSize.width"

and the incriminated code in this file is:

            Image {
                anchors.horizontalCenter: parent.horizontalCenter
                source: "images/kde.svgz"
                sourceSize.height: units.gridUnit * 8
                sourceSize.width: sourceSize.height
            }


Reproducible: Always
Comment 1 Kai Uwe Broulik 2016-03-10 19:38:49 UTC
Git commit d67e3aeab6bcc81e86f6a1466b7796faa9bdac0a by Kai Uwe Broulik.
Committed on 10/03/2016 at 19:37.
Pushed by broulik into branch 'master'.

[Splash Screen] Silence warning

When changing source height, the width is calculated according to aspect ratio
and vice-versa apparently causing a binding loop.

M  +1    -1    lookandfeel/contents/splash/Splash.qml

http://commits.kde.org/plasma-workspace/d67e3aeab6bcc81e86f6a1466b7796faa9bdac0a
Comment 2 Laurent Bonnaud 2016-03-10 21:07:07 UTC
Thank you for the *very quick* fix!  I am looking forward to neon packages integrating this fix...