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

Window scaling of 175% causes black line below title bar with QOpenGLWidget at certain window sizes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.2.4
    • GUI: OpenGL
    • None
    • Win10, Win11, Qt 6.2.4
    • Windows

    Description

      When a QOpenGLWidget is rendered and the screen scaling is set to 175%, a black horizontal line appears below the title bar.

      • This worked correctly in Qt 5 (was tested with 5.12.12) and presumably doesn't work since Qt 6 (was tested with Qt 6.2.4).
      • Tested under Windows 10 and Windows 11.

      Steps to reproduce:

      • Change windows scale (under Windows 11): Display settings→ Scale & Layout: Set scale to 175%:
      • Look at the hellogl2 window again. If you don't see the black line so far, resize your window by dragging its corners.
      • Then you should notice this:

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            elisabethgl Elisabeth Glatz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes