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

QOpenGLWidget incompatible with AA_EnableHighDpiScaling on some hardware

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.6.0 Beta
    • GUI: OpenGL
    • None
    • macOS

    Description

      On certain high resolution hardware, if you put a QOpenGLWidget into a window, the effect of AA_EnableHighDpiScaling is canceled. You can see this with the hellogl2 Qt example program. On Macintosh, the presence of a QOpenGLWidget causes all content in the window to be un-scaled. On Windows, if you set AA_EnableHighDpiScaling before creating the application, then a window with a QOpenGLWidget will have unscaled content.

      I have attached screen shots of the problem on Macintosh Retina screen (iMacInternalMonitor.png), the same application window on my external standard resolution monitor (iMacInternalMonitor.png), a high-res Dell Window laptop with AA_EnableHighDpiScaling set (DellHighResLaptopEnableHighDPIScaling.PNG) and not set (DellHighResLaptopNoEnableHighDPIScaling.PNG).

      Note: I just updated the graphics driver on the Dell laptop, and it did not affect the problem.

      I note that a newer 5K iMac does not show the problem.

      Attachments

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

        Activity

          People

            sletta Gunnar Sletta
            johnweeks John Weeks
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes