Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.3, 4.7.4
-
None
-
Win 7
Symbian^3
Qt 4.7.3
Qt pre 4.7.4 3efaed62e11e9e461f7244a99a233140b9f28510
-
3b3a997cfaf24d18202ebda263d04629956738e8 (qt/tqtc-qtdeclarative/5.12.0)
Description
Launch the attached QML UI using qmlviewer giving the command line argument '-sizeviewtorootobject'.
When launched using Qt 4.7.3 there's a problem in the layout shown in the attached picture 473.png.
When launched using a pre 4.7.4 Qt the situation is better but still there's a visual problem as shown in the attached picture pre474.png.
In both cases panning the list corrects the visuals as can be seen in the attached picture correct.png.
Additional info:
With Qt 4.7.3 panning the list fixes the visual layout but the header y-coordinate gets an odd value. Below is the console output from 4.7.3. The application was started (473.png) and then panned (correct.png):
Text.width==436
Text.height==27
Text.height==999
Text.width==-10
Text.height==54
Text.width==340
Text.y==945 // This happens when panning
With Qt pre 4.7.4 panning the header out of the view and back fixes the visual appearance and nothing further is output to the console. Below is the console output from a pre 4.7.4 Qt. The application was started (474.png) and then panned (correct.png):
Text.width==436 Text.height==27 Text.height==999 Text.width==-10 Text.height==54 Text.width==340 Text.y==-54