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

Back-key on Android does not work on first time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.8.0
    • 6.7.2
    • QPA: Android
    • None
    • Android
    • 2025Season1QtforAndroid, 2024wk40s3FOQtforAndroid, 2024wk42s3FOQtforAndroid, 2024wk52FOQtforAndroid

      On an Android QML application, when focus has been moved to the QML UI by clicking anywhere in the UI, the native Android back-key does not work for the first time. Same happens if an Android activity is opened from the application. After first press the key starts working and events go to the application.

      The first case can be easily reproduced with a default Qt QML application in Qt Creator. Create it, deploy to Android device. Back-key works if user does not tap on the UI. But if it is tapped, first back-key press does not work.

        1. QTBUG-129224_Qt680_GooglePixel8Android14_QtQuickAppWizard.mp4
          2.13 MB
          Rami Potinkara
        2. Main.qml
          0.9 kB
          Heikki Haveri
        3. qmlinput.zip
          2 kB
          Heikki Haveri
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtandroidteam Qt Android Team
            heikki Heikki Haveri
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes