Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-30763

Windows XP/ANGLE: Qt5.1 has redraw problem when obscured

    XMLWordPrintable

    Details

      Description

      This only occurs on Windows XP, using 5.1.0 alpha (ANGLE version).
      5.0.2(ANGLE) and 5.1.0alpha(opengl) DON'T have this issue. It seemed be a regression compared with 5.0.2(ANGLE)

      import QtQuick 2.0
      
      Rectangle {
      	width: 400; height: 300
      	property bool flag: false
      	color: flag ? "green" : "red"
      	MouseArea {
      		anchors.fill: parent
      		onClicked: {
      			parent.flag = ! parent.flag;
      		}
      	}
      }
      

      How to reproduce:
      0) On Windows >= Windows XP, switch theme to "Windows Classic"
      1).Start the program, a red window (called Qtwindow) occurs. It turns green when clicked. When clicked again it will turns to red again.
      2).Move another window (called window2) above the Qtwindow, overlapping a part of that window.
      3).Click Qtwindow [becomes active top window], then only the overlapped part of the window is redrawed (i.e. turns green or red)

        Attachments

        1. NotRedraw.PNG
          NotRedraw.PNG
          18 kB
        2. qtbug30763_diag.patch
          0.5 kB
        3. qtbug30763.qml
          0.2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            sletta Gunnar Sletta
            Reporter:
            weiyuemin weiyuemin
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes