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

QGraphicsView content is blured when fractional scaling and OpenGL is used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.2
    • GUI: OpenGL
    • None
    • Linux/X11, Windows

    Description

      QGraphicsView content is blured when the system uses fractional scaling (e.g. 125%) and the viewport of the view is set to QOpenGLWidget.

      See the attached screenshots. On the left side you can see QGraphicsView with QWidget viewport (and QTBUG-120455 ...) and on the right side QGraphicsView with QOpenGLWidget as the viewport. Note, that the tile images have a pixel ratio that makes them display "pixel-to-pixel", i.e. the images are not scaled. When the system scale is 100%, there is no blur even with QOpenGLWidget.

      As usual in my bugs, to reproduce the issue use GPXSee (https://github.com/tumic0/GPXSee)

      Attachments

        1. OpenGL_blur_windows.png
          1.03 MB
          Martin Tůma
        2. OpenGL_blur_x11.png
          1.00 MB
          Martin Tůma
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lagocs Laszlo Agocs
            tumic Martin Tůma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes