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

HIGHDPI issue: Tooltips show up far away from the expected position

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.11.2, 5.13.2
    • GUI: Window management
    • None
    • Windows

    Description

      Hello,

      I have 3 monitors, 2 with 3840x2160 with no scaling, they are set to100%.

      1 is the 'user' environment monitor with 3840x2160 with 150% scaling.

      We have set our application to use HighDpi in the main.cpp before everything else.

      QCoreApplication::setAttribute( Qt::AA_EnableHighDpiScaling ); QCoreApplication::setAttribute( Qt::AA_UseHighDpiPixmaps );

      I we don't use  Qt::AA_EnableHighDpiScaling, the restore works, but this is not an option for us because of the not - scaled images and fonts..

      The tooltips on a 100% displays are showing up as expected, the tooltips on the 150% one are moved far away as you can see in the attached images.

       

      Have fun,

      Alex

      Attachments

        1. diag.txt
          19 kB
        2. Img3.png
          Img3.png
          614 kB
        3. Img4.png
          Img4.png
          1.36 MB
        4. Unbenannt.mp4
          704 kB
        5. Unbenannt.png
          Unbenannt.png
          54 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              datacube Alexander Golde
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: