Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Multi Monitor / HighDPI-Resolution problems
Qt 6.11 is out! See what's new in the release blog

Multi Monitor / HighDPI-Resolution problems

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • gde23G Offline
    gde23G Offline
    gde23
    wrote on last edited by gde23
    #1

    Hello,

    I have a Qt Widget application that has some problems when running on several monitors with different resolution/high-dpi-scaling settings.
    For high dpi scaling I have set

    QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
    

    The problems I get is that sometimes menus (form combo box or right-click menus) appear at the wrong position or even outside the monitor.
    Any Idea what could be the reason or how to debug this, or is it even realistic to try getting a GUI working under such strange conditions.
    This especially happens when a QDockWidget is placed on the second monitor with different scaling/resolution.
    (Qt5.12 on Windows10)

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      If memory serves well, there has been a lot of work done for high DPI support since 5.12. I would try with the latest 5.15 or even Qt 6.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved