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

The QT_QPA_EGLFS_ROTATION breaks QScreen::grabWindow()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.13, 6.2.6, 6.5.0
    • QPA: EGLFS
    • None
    • Any linux using eglfs platform plugin
    • Linux/Other display system

    Description

      The rotation introduced using the QT_QPA_EGLFS_ROTATION environment variable should not be present on the screenshots taken with QScreen::grabWindow() currently the screenshots taken are rotated along the requested rotation and cut in size so the width matches the height. For instance when using QT_QPA_EGLFS_ROTATION=90 the expected screenshot of the lineedits example would be:

      But what gets captured is:

      This is an issue for Squish which takes a lot of screenshots while testing applications.

      Attachments

        Activity

          People

            lagocs Laszlo Agocs
            jarekk Jaroslaw Kubik
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: