New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tooltips broken on Android #4924
Comments
I can't reproduce this on my device. You are running the stock UITest, what are the exact steps to reproduce? What are you hovering over etc? |
I'm running the stock UITest and when tapping on the Button "Multi Line Toggle" there should be a tooltip popping up, but instead an exception gets thrown. As stated in the PR, using a real Android phone for this. |
Yeah, I can't reproduce this with your steps. I'll try find another device to test on to see if i can it there. Otherwise, hopefully someone else can reproduce and test. |
I tried various phones and tablets with Android versions ranging from 4.1.2 to 7.1, and I can't reproduce the issue either. The tooltip always pops up correctly for me. (I tried with both USB and Bluetooth mices) Are there any other steps I might be missing here? |
No there are no other steps involved. I sadly do not have any other working phone around to pin point the issue to my device specifically. Huawei is involved in all kinds of weird Android bugs though. Using the Huawei P8 for this. |
It's likely a race condition as TooltipManager isn't thread-safe - there are no synchronization / guard blocks. |
Issue details
Tooltips broken on Android. They do not show but cause an exception instead.
Also referenced in #4921
Reproduction steps/code
Run the UITest on android (i used a Huawei P8, Android 5)
Version of LibGDX and/or relevant dependencies
1.9.6
Stacktrace
Please select the affected platforms
The text was updated successfully, but these errors were encountered: