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

[HiDPI]Coordinate system conversion functions do not work properly with negative coordinates (native child windows)

XMLWordPrintable

    • Linux/X11, Windows

      How to reproduce the issue:

      1) You need a system with two screens and the right one has to be the primary
      screen, so the left one will have negative screen coordinates. Enable DPI scaling for the left screen in the OS.

      2) Run the attached example. (PlaintextEdit in QMainWindow with native winId() enforced).

      3) Move the example application window to the left screen. 

      4) Open the tooltip. The popup should be somewhere on the wrong screen.

        1. qtbug71368_diag.diff
          4 kB
        2. qtbug71368_log.txt
          2 kB
        3. qtbug71368.zip
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kleint Friedemann Kleint
            tuomas.vaarala Tuomas Vaarala
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes