Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
4.7.1
-
None
-
- Qt version 4.8.x from gitorious.org master (built ~end of 2010) / problem visible also with qtsdk-2010.05
- Linux Ubuntu 10.10
Description
Changing anchors based on window orientation (portrait/landscape) breaks size of an Item. (See simple attachment)
Steps to reproduce:
1) Load attached qml-file with qmlviewer (you may need to reload the qml to qmlviewer Ctrl+r)
2) Resize the window to landscape mode (width > height)
3) Resize the window back portrait mode (width < height)
Expected outcome:
1) "Portrait changed: true" on your console.
Red box is located @ top-left corner
Top-left corner of blue box @ vertical center of window
2) "Portrait changed: false" on your console.
Top-left corner of red box @ horizontal center of window
Blue box is located @ top-left corner of window
3) "Portrait changed: true" on your console.
Red box is located @ top-left corner
Top-left corner of blue box @ vertical center of window
Actual outcome:
1) "Portrait changed: true" on your console.
Red box on top-left corner
Top-left corner of blue box @ vertical center of window
2) "Portrait changed: false" on your console.
Top-left corner of red box @ horizontal center of window
Blue box is located @ top-left corner of window
3) "Portrait changed: true" on your console.
Blue box's height ~ 100% of window's height (50px width)
Red box width ~ 100% of window's width (50px height)