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. dockwidget-hidpi.png
          dockwidget-hidpi.png
          8 kB
        2. MacOS_SVGs.zip
          4 kB
        3. QDockWidget titlebar SVG.zip
          19 kB
        4. qtbug38776_diag_51.diff
          5 kB
        5. qtbug38776_diag.diff
          5 kB
        6. qtbug38776_icon_viewer.zip
          3 kB
        7. qtbug38776.zip
          2 kB
        8. scaled_win10_titlebar_buttons.png
          scaled_win10_titlebar_buttons.png
          214 kB
        9. Screen Shot 2017-12-21 at 13.55.56.png
          Screen Shot 2017-12-21 at 13.55.56.png
          45 kB
        10. Screen Shot 2017-12-21 at 9.37.52.png
          Screen Shot 2017-12-21 at 9.37.52.png
          43 kB
        11. Screen Shot 2018-01-09 at 12.30.33.png
          Screen Shot 2018-01-09 at 12.30.33.png
          24 kB
        12. Screen Shot 2018-01-09 at 12.33.32.png
          Screen Shot 2018-01-09 at 12.33.32.png
          66 kB
        13. Screen Shot 2018-01-26 at 8.57.40.png
          Screen Shot 2018-01-26 at 8.57.40.png
          108 kB
        14. Screen Shot 2018-12-11 at 8.11.29 PM.png
          Screen Shot 2018-12-11 at 8.11.29 PM.png
          181 kB
        15. styleiconviewer.zip
          2 kB

        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: