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

QDockWidget titlebar icons are not drawn with high DPI

    XMLWordPrintable

Details

    • macOS
    • 550e511ec8a1aa12ac75ebd71079511572840065 (qt/qtbase/dev) dcf28a67b7fd6d8962335c9b9c6319216078f8cb (qt/qtbase/6.2)

    Description

      On mac with a retina display the icons in the titlebar of a dockwidget are drawn without HiDPI. In the attached image the text is drawn in high resolution. In contrast the close and undock buttons are only rendered using the default resolution.

      The tested application uses qApp->setAttribute(Qt::AA_UseHighDpiPixmaps).

      Attachments

        1. styleiconviewer.zip
          2 kB
          Friedemann Kleint
        2. Screen Shot 2018-12-11 at 8.11.29 PM.png
          181 kB
          Steve Mokris
        3. Screen Shot 2018-01-26 at 8.57.40.png
          108 kB
          Diana de Sousa
        4. Screen Shot 2018-01-09 at 12.33.32.png
          66 kB
          Diana de Sousa
        5. Screen Shot 2018-01-09 at 12.30.33.png
          24 kB
          Diana de Sousa
        6. Screen Shot 2017-12-21 at 9.37.52.png
          43 kB
          Diana de Sousa
        7. Screen Shot 2017-12-21 at 13.55.56.png
          45 kB
          Diana de Sousa
        8. scaled_win10_titlebar_buttons.png
          214 kB
          Martin Hjelmstedt
        9. qtbug38776.zip
          2 kB
          Friedemann Kleint
        10. qtbug38776_icon_viewer.zip
          3 kB
          Friedemann Kleint
        11. qtbug38776_diag.diff
          5 kB
          Friedemann Kleint
        12. qtbug38776_diag_51.diff
          5 kB
          Friedemann Kleint
        13. QDockWidget titlebar SVG.zip
          19 kB
          Diana de Sousa
        14. MacOS_SVGs.zip
          4 kB
          Diana de Sousa
        15. dockwidget-hidpi.png
          8 kB
          Michael Eischer

        Issue Links

          For Gerrit Dashboard: QTBUG-38776
          # Subject Branch Project Status CR V

          Activity

            People

              vhilshei Volker Hilsheimer
              michael.eischer Michael Eischer
              Votes:
              16 Vote for this issue
              Watchers:
              28 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: