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

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.9.1
    • GUI: Painting
    • None
    • Windows

    Description

      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. 

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes