Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.12.0, 5.12.4, 5.13.1
-
None
-
Samsung Galaxy S7 with Android 8 (Oreo)
Description
Qt 5.12.4 and Qt 5.13.1 applications toggle between active and inactive state on the Samsung Galaxy S7 with Android 8. Devices running Android 9 are apparently not affected by this bug. The following output is generated endlessly (the app is also very slow due to the state changes):
D ViewRootImpl@7783729[MyActivity]: Relayout returned: old=[0,0][1080,1920] new=[0,0][1080,1920] result=0x1 surface={valid=true 3328737280} changed=false D ViewRootImpl@7783729[MyActivity]: MSG_WINDOW_FOCUS_CHANGED 0 D MyActivity: Inactive D ViewRootImpl@7783729[MyActivity]: MSG_WINDOW_FOCUS_CHANGED 1 D MyActivity: Active D ViewRootImpl@7783729[MyActivity]: Relayout returned: old=[0,0][1080,1920] new=[0,0][1080,1920] result=0x1 surface={valid=true 3328737280} changed=false D ViewRootImpl@7783729[MyActivity]: MSG_WINDOW_FOCUS_CHANGED 0
The "D MyActivity: Inactive" part of the log output is just the output when listening for "QEvent::ApplicationStateChange" events. Qt 5.11 does not has this problem.