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

tooltip global position wrong with dual screen different highDPI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.9.4, 5.12
    • Fix Version/s: None
    • Component/s: GUI: Window management
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      Tooltips were observed to be placed in the wrong position in a HighDPI Windows application (running on Windows 10) when hovering moues over a widget on a secondary monitor, where the primary monitor is set to something lower like 100% scaling and the secondary is at higher scaling.

      Adding an event filter to override tooltip events and manually create the tooltips at positions I want results in the same problem since various Qt functions to map to global still appear to result in the wrong calculation.

      UPDATE: An important piece of info is that this tooltip issue is specifically in a custom toolbar comprised of QPushButtons in a QFrame that can be moved around.

        Attachments

        1. display_settings1.png
          display_settings1.png
          33 kB
        2. display_settings2.png
          display_settings2.png
          30 kB
        3. QTBUG-79630_qtdiag.txt
          6 kB
        4. qtbug79630.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:
                kleint Friedemann Kleint
                Reporter:
                skenyon Sam Kenyon
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes