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

grabImage crops image to window size without respecting retina displays

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4: Low P4: Low
    • 6.7
    • 5.3.0
    • Testing: QuickTest
    • None
    • Mac OS X with retina display
    • macOS

      On retina displays, the image returned by TestCase.grabImage() should be twice the size of the image returned on non-retina displays, as every logical pixel is represented by two physical pixels. It is, however, cropped to the size of the window, so pixels exceeding the window size cannot be accessed, although they are visible.

      See the attached test to reproduce the problem.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            che Carsten Henßinger
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There is 1 open Gerrit change