Details

    • Technical task
    • Resolution: Done
    • P2: Important
    • None
    • None
    • None

    Description

      Verify the Qt content can handle normal Activity lifecycle events, such as going into background and returning to the front.

      Prerequisites: Have an Android app with a QtQuickView in it.

      Things to verify:

      1. onPause/onResume:
        1. open the app
        2. verify the QtQuickView is rendering its contents correctly, able to interact
        3. switch to another app/go back to home screen without using the back button
        4. navigate back to the test app
        5. verify the QtQuickView is still rendering its contents correctly and can be interacted with
      2. second instance of the hosting Activity started
        1. launch the app's Activity where QtQuickView is embedded in
        2. verify the QtQuickView is rendering its contents correctly, able to interact
        3. launch another instance of the same Activity (you can e.g. have a button in the UI which launches an Intent to launch the same Activity, or use adb)
        4. is the QtQuickView behaving as expected?
        5. return back to the first instance - is the QtQuickView behaving as expected? (you can use the back button to navigate back to the previous instance)
      3. onCreate/onDestroy
        1. repeat the steps from 2., but after step 2.5, continue with...
        2. launch a second instance again. is everything still initialized correctly, Qt does not crash or get stuck, QtQuickView behaving as expected?
        3. Note, this assuming back button destroys the Activity, this is not always the case, depends on Android version, device, etc. Make sure with e.g. logging that the Activity's onDestroy() gets called

      Attachments

        Issue Links

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

          Activity

            People

              olvuolte Olli Vuolteenaho
              tinjapaavoseppa Tinja Paavoseppä
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes