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

        1. Screencast from 14.03.2024 09.42.35.webm
          535 kB
          Konsta Alajärvi
        2. crash_log.logcat
          498 kB
          Konsta Alajärvi
        3. Screencast from 14.03.2024 09.40.33.webm
          391 kB
          Konsta Alajärvi

        Issue Links

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

          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