Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

This library may cause Android UI layer to get stuck #89

Open
drakeet opened this issue Feb 12, 2020 · 0 comments
Open

This library may cause Android UI layer to get stuck #89

drakeet opened this issue Feb 12, 2020 · 0 comments

Comments

@drakeet
Copy link

drakeet commented Feb 12, 2020

My app was using this ViewTooltip to show some user tutorials. It looks good to me, but recently, I found that using this library may cause the Android UI renderer layer to get stuck.

This is a stuck performance that looks very similar to an ANR, but it is not actually an ANR, because my ANR observer cannot observe and catch it, and although the full UI is stuck overall, the user can still click the position of the input field to awaken Soft keyboard and enter text.

This bug has troubled me for a long time, I tracked it for a long time, and only recently did I realize that it might be caused by this library. Eventually, I reproduced and verified this on my user's devices, and finally solved the problem by completely removing this library.

I'm sorry I can't provide direct evidence and related code, and I can't even understand why this is happening because it is a very atypical ANR, a non-ANR ANR.

But I thought I should record and share this thing here. If anyone encounters the same situation as me, I can consider whether it may be caused by this library and finally solve it.

Attached:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant