Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.0
-
None
-
Linux, Ubuntu 64 11.10, Nvidia propriety drivers.
Description
Below is the code that reproduces the problem. Sometime it works, and some times it doesn't. When it doesn't work QtQuick bakes the background behind the window into the window's painting area. Resizing the window after it opens, cause the window to refresh and show it contents. Attached is a screenshot of the issue.
// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5 import QtQuick 2.0 import QtQuick.Window 2.0 Rectangle { width: 360 height: 360 Text { anchors.centerIn: parent text: "Click me :D" } MouseArea { anchors.fill: parent onClicked: { redWindow.show() } } Window { id: redWindow x: 100 y: 100 width: 200 height: 200 Rectangle { anchors.fill: parent color: "red" Text { anchors.centerIn: parent text: "Space Unicorn!"; } } } }