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

When calling winId() on a QWidget before calling setWindowFlags() to make it a frameless window will cause it to return -8x0 for pos() when it is placed at 0x0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 5.15.3
    • QPA
    • Windows

      When calling winId() on a QWidget before calling setWindowFlags() to make it a frameless window will cause it to return -8x0 for pos() when it is placed at 0x0. If winId() is called after setWindowFlags() then this does not happen

        1. qtbug91861.zip
          1 kB
        2. qtbug91861-1.zip
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            liaqi Liang Qi
            andysh Andy Shaw
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes