Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
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. |
This same issue is occurring for me as well. Unfortunately I haven't been able to pinpoint the issue either. Tooltips are just simply not showing on Android. I'm using an Android Pixel with API 26. |
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