On Tuesday 14 February 2017, Aleix Pol wrote:
> Hey Marco, Plasma,
> I've been investigating the issue I mentioned before leaving the
> sprint. As you can see, QQC1.Label stops rendering eventually.
> https://bugreports.qt.io/browse/QTBUG-58852
> 
> I'm sending this e-mail because Kirigami.Label and
> PlasmaComponents.Label also have this problem (see attached).
> 
> Any ideas?

seems another bug of nativerendering of text.
attached a very minimal example that just uses the qml primitive Text element, 
one with renderType: Text.NativeRendering the other one with renderType: 
Text.QtRendering
and the problem is reproducible, it should be submitted as an upstream Qt bug.

-- 
Marco Martin
import QtQuick 2.1
import QtQuick.Layouts 1.1
import QtQuick.Controls 1.1


ApplicationWindow
{
    function longText() {
        var ret = "<ul>"
        for(var i=0; i<1234; ++i)
            ret += "<li>hola "+i+"</li>"
        return ret + "</ul>";
    }

    id: window
    ScrollView {
        anchors.fill: parent
        RowLayout {
            Text {
                text: longText()
                renderType: Text.NativeRendering
            }
            Text {
                text: longText()
                renderType: Text.QtRendering
            }
        }
    }
}

Reply via email to