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

Details

    • Linux/X11, Windows

    Description

      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.

      Attachments

        1. qtbug71368_diag.diff
          4 kB
          Friedemann Kleint
        2. qtbug71368_log.txt
          2 kB
          Friedemann Kleint
        3. qtbug71368.zip
          4 kB
          Friedemann Kleint

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes