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

[REG 5.9.3 => 5.9.4] Popup opened at 0, 0 has no background

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.9.5
    • 5.9.4
    • Quick: Controls 2
    • None
    • aca950e43a25f4b80707ff4e2f17d71aef441d52

    Description

      Setting x or y to something non-zero is a workaround.

      import QtQuick 2.9
      import QtQuick.Controls 2.2
      
      ApplicationWindow {
          visible: true
          width: 640
          height: 480
      
          Button {
              text: "Open"
              onClicked: popup.open()
          }
      
          Popup {
              id: popup
              width: 200
              height: 200
              modal: true
      
              Rectangle {
                  anchors.fill: parent
                  color: "transparent"
                  border.color: "darkorange"
              }
          }
      }
      

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-65880
          # Subject Branch Project Status CR V

          Activity

            People

              Unassigned Unassigned
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes