Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.3.1
-
None
-
Ubuntu 20.04.5
-
-
f3b1d6135 (dev), 99b2aacd8 (6.5)
Description
When a QML item Text is outside the screen during the screen creation, it is not rendered on text change.
=>
The Text must meet 3 conditions:
- At creation, the text property must remain empty
- width property must have a fixed value
- clip property is set as true
Whese these conditions, if the text property is changed to another value, all Text outside the window at its creation will not be rendered even if they are currently visible in the view.
The Text item have a correct width, implicitWidth and contentWidth and calling forceLayout() or update() doesn't solve it. Changing most of properties doesn't change anything as well (rotation, antialiasing, etc.) except:
- clip: you can set the clip property to false, let QML do at least a frame rendering and then set again the clip property to true
- width: set a new width and immediately restore the previous one
The issue wasn't there on Qt5.14.2.
I've created a test program (BugScrollable.7z) to reproduce the issue attached to the ticket, just launch it and click on "Fill Text" to change all Text item property text from "" to "Text"
Attachments
Issue Links
- relates to
-
QTBUG-106164 ListView doesn't render Text in delegates on dataChanged signal
- Closed
- mentioned in
-
Page Loading...