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

globalPos is wrong on a HDPI display located at the left of Main Monitor on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P2: Important P2: Important
    • None
    • 5.9.1
    • None

      If I use event->globalPos() in a MousePress while the click happened on the display at the left of Windows "Main Monitor" (negative X coordinate) and my main display is HDPI, the value is wrong. QCursor pos() is ok.

      It also happens if I use widget->mapToGlobal(QPoint(...))

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

            sorvig Morten Sørvig
            mabeghin Matthieu B.
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes