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

REG->6.9: QPixmap + QLabel rendering images looks bad on screen with fractional scale factor when not setting DPR on QPixmap

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • 6.9.2, 6.10, 6.11
    • 6.9.1
    • GUI: Painting
    • None
    • Windows
    • ce1e18ff490ddfe462cbbbd5c4c318cb8177f016

      Steps to reproduce (C++)

      • Run Steps to reproduce (C++) on a screen with DPR 1.25
      • Note: image quality decreased
      • This can be fixed by setting the DPR on the pixmap (option -s)

      Original PySide report

      This wasn't present pre 6.8, the images looked decent. I even tried to pre process the image to a 28x28 and it still didn't display cleanly. 

        1. image_bug.py
          1 kB
          Jessie Wilson
        2. imdb.png
          232 kB
          Jessie Wilson
        3. example_script.cpp
          1 kB
          Jessie Wilson
        4. post6.9.png
          6 kB
          Jessie Wilson
        5. pre6.9.png
          8 kB
          Jessie Wilson
        6. qtdiag.txt
          14 kB
          Jessie Wilson
        7. qtbug138135.png
          17 kB
          Friedemann Kleint
        8. qtbug138415.zip
          216 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vgt Eirik Aavitsland
            jlw_4049 Jessie Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes