KieronQuinn / Smartspacer

Smartspacer is a customisable widget for Android, but with a difference: It can upgrade the built in At a Glance on Pixels - without root!
GNU General Public License v3.0
1.96k stars 42 forks source link

Swipe up to Home locks up the app launched from Expanded Smartspace #96

Closed MeguMario closed 9 months ago

MeguMario commented 9 months ago

Description

When inside an app launched from Expanded Smartspace, attempting to go back to Home screen by swiping up results in the app locking up and any user interactions are refused (swipe down to open quick settings stills work). In that state, the only way to go back to the home screen is to lock the phone and unlock it.

https://github.com/KieronQuinn/Smartspacer/assets/44724359/2eddf436-77f1-46a0-992f-08cd855d54a8

Return to the home screen by repeatedly swiping back works fine and launching an app from Expanded Smartspace in the lockscreen doesn't have any problem with either the swiping up or swiping back gesture

I'm using a Pixel 4 XL on stock Android 13

KieronQuinn commented 9 months ago

Unable to reproduce, and this is not under the control of Smartspacer anyway - once an app is opened, the overlay is gone

MeguMario commented 9 months ago

I don't know whether this is the problem with the firmware or Smartspacer, but I think it's something to do with Android 13 firmware(s), as I could reproduce this on my other Pixel 4 XL with LineageOS 20 (though it behaved differently compare to my daily driver), but on my Pixel 6 Pro running on the latest Android 14, i was unable to reproduce the bug as well

This is on the other Pixel 4 XL (on stock Pixel Launcher instead of Trebuchet), the extended Smartspace overlay seems to be still there

https://github.com/KieronQuinn/Smartspacer/assets/44724359/4b6a730b-5ef8-48aa-bcc0-bb9acc6428ae

This is on the Pixel 6 Pro, the overlay is indeed closed properly

https://github.com/KieronQuinn/Smartspacer/assets/44724359/e26937cd-9cab-4a8f-8873-61e6b833c106

MeguMario commented 9 months ago

I managed to do some additional testing on an emulated Android 13 image, the behavior is indeed the same as the LineageOS sample. Though something to note

I'm really sorry about the emulated device kept flashing, anytime the systemui crash it goes into that state.

https://github.com/KieronQuinn/Smartspacer/assets/44724359/b42cb488-084a-4782-bcf2-6cfbd1a68051

The bug doesn't seem to affect Android 14 as above, so probably only Android 13. At this point I think it's as you said, thanks for helping me out!

KieronQuinn commented 9 months ago

I can reproduce it with that exact config, but it doesn't seem to be a Smartspacer bug. I have no control over the recents of another app, nor the animation of it closing. It's likely this was an Android bug and was fixed in 14.