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

Moving QGLWidget between HiDPI and regular DPI monitor results in incorrect display

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.3.0 RC1
    • 5.3.0 RC1
    • GUI: OpenGL
    • None
    • Mac OSX 10.9.2
    • bab494e4d046f5617d19f5fec35eeff94377c51f

    Description

      I am building the Hello GL example experiment in /qtbase/examples/opengl/hellogl.

      I have 2 24" monitors whose native resolution is 1900x1080. If I set the resolution of one monitor to simulate a retina display (960x540 HiDPI) and then build and run the application, when I move the window back and forth between the two monitors, the contents of the QGLWindow often, but not always, display all black or garbage. Moving one of the sliders causes the contents to be repainted correctly.

      I would say that the painting gets messed up at least 50% of the time I move the application from one window to another, and it is messed up a bit more often moving from regular DPI to simulated HiDPI than the reverse direction.

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            aclight Adam Light
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes