Bug 393107 - Implicit loop warning on implicitHeight for TextFieldStyle.qml when changing width
Summary: Implicit loop warning on implicitHeight for TextFieldStyle.qml when changing ...
Status: RESOLVED FIXED
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: components (other bugs)
Version First Reported In: 5.44.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-13 14:13 UTC by Albert Astals Cid
Modified: 2020-11-24 18:57 UTC (History)
1 user (show)

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


Attachments
Said file (197 bytes, text/plain)
2018-04-13 14:13 UTC, Albert Astals Cid
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Astals Cid 2018-04-13 14:13:22 UTC
Created attachment 112003 [details]
Said file

With the attached file, when writing on the field i get
file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/TextFieldStyle.qml:46:17: QML QQuickItem: Binding loop detected for property "implicitHeight"
file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/TextFieldStyle.qml:46:17: QML QQuickItem: Binding loop detected for property "implicitHeight"
file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/TextFieldStyle.qml:46:17: QML QQuickItem: Binding loop detected for property "implicitHeight"
file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/TextFieldStyle.qml:46:17: QML QQuickItem: Binding loop detected for property "implicitHeight"

Which doesn't make any sense since i'm not changing the height.

Putting the code here for quick reading too

import QtQuick 2.6
import org.kde.plasma.components 2.0 as PlasmaComponents

Item {
    width: 800
    height: 600

    PlasmaComponents.TextField {
        width: text !== "" ? 500 : 250
    }
}
Comment 1 Nate Graham 2020-11-24 18:57:39 UTC
Looks to have been fixed now as the text case no longer produces a binding loop.