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

If user pressed back button during application startup. Application becomes unresponsive.

    XMLWordPrintable

Details

    • Android
    • 2262a9cd2d135d5ea2ade42460496c88d8b2c292 (qt/qtbase/dev) aca924f32c3dcd41f8a9527faa92666c6fbf9676 (qt/qtbase/6.1) 8fc1a885d19a2dfb1a3a684aea1cfa41967e041f (qt/tqtc-qtbase/5.15.5) 15999490acaf3f838b301e38e6e21d26a27f87f6 (qt/tqtc-qtbase/5.15)

    Description

      All you need to check this: run any qtquickcontrols2 example on android and press android hardware back button(do it several times to make sure app received event).

      After that initial scene shown, but not updated. And user can't interact with it.

      Now if you somehow put app to background(with home button or switch to other application) and back to qt app you'll see just black screen without scene.

      The only way to kill app is to close it with android applications menu or swipe it with application switch functionality.

      I also want to mention that QApplication's thread stays alive. If I put timer and trigger some printing function I'll see it in android log.

      Attachments

        1. 1p7t-withfix.mp4
          7.82 MB
        2. NormalClose.txt
          2 kB
        3. screencapture-1608638682935.mp4
          3.86 MB
        4. UnresponsiveClose.txt
          3 kB

        Issue Links

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

          Activity

            People

              pekkagehor Pekka Gehör
              alexeym A M
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes