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

android landscape layout wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2: Important P2: Important
    • None
    • 6.7.2
    • GUI: Other
    • None
    • qt: 6.7.2
      android sdk: 34
      android ndk: 26.1.10909125

      problem phones:
      meizu 20
      honor 100 pro
      oppo find x7 ultra
    • Android
    • 2024wk42s3FOQtforAndroid

      此问题发生在某些 Android 手机中。

      就像界面处于纵向模式一样。

      我发现这些有问题的手机没有在应用程序启动时发送 QScreen::availableGeometryChanged() 信号。

      我的AndroidManifest.xml:

      ...

      <应用程序
      ...
      android:hardwareAccelerated=“true”
      android:resizeableActivity=“false”
      android:requestLegacyExternalStorage=“true”
      android:allowBackup=“true”
      android:fullBackupOnly=“false”

      ...

      <活动
      ...
      android:configChanges=“orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density”
      android:launchMode=“singleTop”
      android:screenOrientation=“sensorLandscape”
      android:exported=“true”

      ...

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

            qtandroidteam Qt Android Team
            qwqwqw213 jiajing lee
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes