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

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.7.1, 5.8.0, 5.9.2
    • Fix Version/s: None
    • Component/s: Quick: 2D Renderer
    • Labels:
      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

            • Assignee:
              janichol Andy Nichols
              Reporter:
              astreye astreye
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes