Assigned
Status Update
Comments
bu...@gmail.com <bu...@gmail.com> #3
I've attached a sample project that demonstrates the problem. Here are the steps to reproduce.
To observe correct behavior, on Android device:
- Open Chrome
- Search for "MLB Scores"
- Pin a live score from that page
- Return to Home Screen
- Launch TestApp from Android Studio
- Remove pinned live score by dragging it to the (X) at bottom of screen Result:
- User is able to remove the pinned score
To observe wrong behavior, on Android device:
- Open Chrome
- Search for "MLB Scores"
- Pin a live score from that page
- Return to Home Screen
- Un-comment line 25 in MainActivity.kt
- Launch TestApp from Android Studio
- Try to remove pinned live score by dragging it to the (X) at bottom of screen Result:
- User is unable to remove the pinned score because it won't drag to the (X)
ra...@google.com <ra...@google.com> #4
Thanks for the information. We are unable to follow the step 3. Could you please share a video for same.
bu...@gmail.com <bu...@gmail.com> #5
Screen recording attached. Just tap where it says "pin live score".
ra...@google.com <ra...@google.com> #6 Restricted
Restricted
Comment has been deleted.
ra...@google.com <ra...@google.com>
mn...@google.com <mn...@google.com>
bu...@gmail.com <bu...@gmail.com> #7
Hello. Just curious if there's any update on this issue?
Description
My game runs full-screen portrait mode and is based on NativeActivity. The Kotlin layer has the following function for setting immersive mode in onCreate, as per the instructions here:
This works as expected where the navigation bar at the bottom disappears but the user can swipe up to use it. However it causes an issue with floating widgets because they can't be dragged all the way to the bottom of the screen where the (X) is located.
I've attached two screenshots. Screen1.png shows how closing a floating widget should work where you can drag it all the way down to the (X). In order for this to work I must comment out the last line above which hides the System Bars.
When I do hide the System Bars with the last line above, the floating widget will only drag to just above the (X) and thus it can't be removed from the screen. This is shown in Screenshot2.png
I've seen this behavior on the Samsung S23 as well as the Pixel Pro 8, both running Android 14. Based on the ability to cause this behavior by simply adding the line above, it seems like an OS bug.