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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Duplicate
    • Affects Version/s: 5.15.3
    • Fix Version/s: None
    • Component/s: QPA
    • Platform/s:
      Windows

      Description

      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

        Attachments

        1. qtbug91861.zip
          1 kB
        2. qtbug91861-1.zip
          2 kB

          Issue Links

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes