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

pixeltool cannot show pixel grid at correct size on HighDPI screens

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.1
    • Other
    • None
    • Qt 6.6.1 MSVC20219
    • Windows

    Description

      The pixeltool that ships with Qt used to be able to show a grid for individual pixels. This has been broken on HighDPI displays for a while since Qt started to introduce more HighDPI support. So when the Windows display scale setting is higher than 100%, the pixel tool no longer displays the pixel grid correctly, even when the grid size is set to the lowest setting.

      In Qt 5.9, it is still working as expected. Here, at 150% and 200% scaling, it draws a grid around the actual pixels of my screen:

      On recent versions of the pixeltool, the grid can no longer highlight the actual pixels and is a bit too large, even at the lowest setting:

      Attachments

        1. PixeltoolQt5.JPG
          PixeltoolQt5.JPG
          294 kB
        2. PixeltoolQt6.JPG
          PixeltoolQt6.JPG
          272 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vhilshei Volker Hilsheimer
            karlwolfram Karl Wolfram
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes