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

Android: Sub-menu does not show for widget based app compiled for arm64-v8a

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.12.5
    • 5.12.2, 5.12.3, 5.12.4, 5.13.0
    • None
    • Host: Windows 10 or Ubuntu 16.04, Target: Android, Test devices: several mobile phones and tablets with Android 8, QtCreator 4.9.0, Qt 5.12.2 (or Qt 5.12.3), NDK r18b, Android SDK 26.1.1
    • Android
    • 1880fba971ed8ae8e813829ff3668132371e88a7

    Description

      The sub menu of a simple main menu is not shown if the Qt Widget Application for Android is compiled for arm64-v8a (see attached screenshots).

      It works fine (the sub menu is shown, see attached screenshots) if the application is compiled for armeabi-v7a.

      Workflow to reproduce the problem:

      • create simple Qt Widget application
      • add main menu bar
      • add some main menu items
      • add some sub menu items for each main menu item
      • compile for android (using arm and arm64)
      • install apk on android device
      • start the application and try to activate a sub menu item ==> works for arm but does not work for arm64 version

      The source code for the demonstration application SimpleMenu is attached. Also the apk's for arm and arm64 are attached.

      Attachments

        1. SimpleMenuAppSubMenuNotVisibleForArm64.png
          SimpleMenuAppSubMenuNotVisibleForArm64.png
          115 kB
        2. SimpleMenuAppSubMenuForArm.png
          SimpleMenuAppSubMenuForArm.png
          136 kB
        3. SimpleMenuAppMainMenu.png
          SimpleMenuAppMainMenu.png
          128 kB
        4. SimpleMenuApp.png
          SimpleMenuApp.png
          115 kB
        5. SimpleMenu.zip
          3 kB
        6. simple_menu_test_arm64.apk
          9.26 MB
        7. simple_menu_test_arm.apk
          7.01 MB

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              min Michael Neuroth
              Votes:
              5 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes