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

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.9.4
    • Fix Version/s: 5.9.5
    • Component/s: Quick: Controls 2
    • Labels:
      None
    • Commits:
      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

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

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              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