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

In Screen.onOrientationChanged, the previous size is reported instead of the new one

XMLWordPrintable

    • d69e226e3 (dev), 954f2f5b3 (6.10), 37926c5d4 (6.9), ffc292ca7 (tqtc/lts-6.8)
    • 2025wk34s2QtforAndroid

      Using Screen.onOrientationChanged and the workaround from QTBUG-35427, the width and height of the item or the screen reported in onOrientationChanged are not the new dimension but the previous ones. This make onOrientationChanged useless for this purpose.

      See test project attached.

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

            assam Assam Boudjelthia
            lasconic Lasconic
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes