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

Orientation issues with embedding QML to Android Java application

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • None
    • 6.7
    • None
    • Android Studio, host: Linux, target: Android 12,14 emulator x86_64
    • Android
    • b3685743f (dev), c4a98a729 (dev), 46c639d81 (6.7), 7da0c6f83 (6.7)

    Description

      QtQuickView does not scale properly to parent ViewGroup in Android Java application when target device orientation changes from portrait to landscape if activity config changes are handled manually by:
      android:configChanges="screenSize|screenLayout|orientation
       
      If these changes are not handled manually application crashes after couple orientation changes.
       

      Logs from application crash included in crash_log.logcat.

      Videos from both scaling issue and application crash included.

      Attachments

        Issue Links

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

          Activity

            People

              tinjapaavoseppa Tinja Paavoseppä
              koalajar Konsta Alajärvi
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes