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

it seams that since Qt5.7, QML repaint incorrectly on switching between maximum and normalsize window

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 5.7.1, 5.8.0, 5.9.2
    • Quick: 2D Renderer
    • None

    Description

      please take the following link for reference:

      https://forum.qt.io/topic/85370/it-seams-that-since-qt5-7-qml-repaint-incorrectly-on-switching-between-maximum-and-normalsize-window

      QML repaints incorrectly on changing to maximum window and changing back to normal size.

       

      import QtQuick 2.7
      import QtQuick.Controls 2.2
      
      ApplicationWindow {
          id: window
          visible: true
          width: 640
          height: 480
      
          Rectangle {
              id: leftSideBar
              color: "purple"
              anchors.leftMargin: 0
              anchors.top: parent.top
              anchors.bottom: parent.bottom
              width: 100
          }
      
          Rectangle {
              color: "orange"
              anchors.left: leftSideBar.right
              anchors.right: rigthSideBar.left
              anchors.top: parent.top
              anchors.bottom: parent.bottom
          }
      
          Rectangle {
              id: rigthSideBar
              color: "pink"
              anchors.right: parent.right
              anchors.top: parent.top
              anchors.bottom: parent.bottom
              width: 100
          }
      
      }
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            janichol Andy Nichols
            astreye astreye
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes