Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.2.2
-
None
-
Android 11.0
Android NDK 22.1.7171670
-
-
8bca441b6f (qt/qtbase/dev) 8bca441b6f (qt/tqtc-qtbase/dev) 9554d315aa (qt/qtbase/6.3.0) 9554d315aa (qt/tqtc-qtbase/6.3.0) a32592c37a (qt/qtbase/6.3) 762c1664a9 (qt/qtbase/6.2) 762c1664a9 (qt/tqtc-qtbase/6.2) a32592c37a (qt/tqtc-qtbase/6.3)
-
2022wk02FOAndroid&Automotive, 2022wk04FOAndroid&Automotive
Description
If the android keyboard was opened before the camera queried the permission from the user the app will freeze/crash after the choice was made in the permission dialog.
The attached example will reproduce the issue:
- Start the app
- Tap the "Evil TextField" -> Android keyboard shows
- Close the keyboard again
- Tap the "Start camera" button
- Choose the permission always/once only
- The app will hang now
This only happens if the permission is queried and you open the keyboard before that. If you skip 2 + 3 it will just work.
It took me two days to figure out the keybard causes it.