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

widget with flags popup and FramelessWindowHint does not paint

XMLWordPrintable

    • macOS
    • deac052a40c93633041da058d5c73c9e91aa76c7

      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

       

        1. menu bug.jpg
          123 kB
          sred1
        2. simple example.zip
          2 kB
          sred1
        3. widget bug.jpg
          221 kB
          sred1
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes