https://bugs.kde.org/show_bug.cgi?id=399155

--- Comment #33 from Krešimir Čohar <kco...@gmail.com> ---
(In reply to trmdi from comment #32)
> Here is a minimal code to reproduce the bug:
> 
> ###########
> 
> import QtQuick 2.0
> import QtQuick.Layouts 1.2
> import org.kde.plasma.components 2.0 as PlasmaComponents
> 
> Rectangle {
>     width: passwordBox.width + 4
>     height: passwordBox.height + 4
>     color: "grey"
> 
>     PlasmaComponents.TextField {
>         id: passwordBox
>         revealPasswordButtonShown: true
>         echoMode: TextInput.Password
>         Layout.fillWidth: true
>         font.family: "Noto Color Emoji"
>     }
> 
> }
> 
> ###########
> When run it with qmlscene:
> 
> qmlscene test.qml
> file:///usr/lib64/qt5/qml/QtQuick/Controls/Styles/Plasma/TextFieldStyle.qml:
> 53:17: QML QQuickItem: Binding loop detected for property "implicitHeight"
> file:///usr/lib64/qt5/qml/QtQuick/Controls/Styles/Plasma/TextFieldStyle.qml:
> 53:17: QML QQuickItem: Binding loop detected for property "implicitHeight"
> file:///usr/lib64/qt5/qml/QtQuick/Controls/Styles/Plasma/TextFieldStyle.qml:
> 53:17: QML QQuickItem: Binding loop detected for property "implicitHeight"
> file:///usr/lib64/qt5/qml/QtQuick/Controls/Styles/Plasma/TextFieldStyle.qml:
> 53:17: QML QQuickItem: Binding loop detected for property "implicitHeight"

Yes that works. You could also use just "Noto Sans" instead of the emoji font.

If I set the height value to accommodate Noto Sans (I haven't figured out how
to resolve the binding loop yet so I used a ballpark estimate), the circles get
cut off again (not unlike the PlasmaComponents 3 screenshot:
https://phabricator.kde.org/file/data/x75du5yanhince3tbuy4/PHID-FILE-q7ao2tbeicsq6s3q62k7/image.png).

While this issue needs to be resolved too, it's not going to be enough.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to