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

widget with flags popup and FramelessWindowHint does not paint

    XMLWordPrintable

    Details

    • Platform/s:
      macOS
    • Commits:
      deac052a40c93633041da058d5c73c9e91aa76c7

      Description

      setting flags Qt::Popup and Qt::FramelessWindowHint to QWidget make it paint only once.

      after calling show() or exec() for second time you get only border with invisible inside, meaning content does not paint.

      this affect menu as well.

       

      bellow is example of the bug, after clicking on buttons "widget test" and "button test" the widget and the menu show it contents, the second time we try, the content does not draw (see screen shoot bellow)

       

      note that this occure using xcode 9.4.1 with sdk 10.13

       

        Attachments

        1. menu bug.jpg
          menu bug.jpg
          123 kB
        2. simple example.zip
          2 kB
        3. widget bug.jpg
          widget bug.jpg
          221 kB

          Issue Links

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

            Activity

              People

              • Assignee:
                vestbo Tor Arne Vestbø
                Reporter:
                ARedouane sred1
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes