Forum Discussion
FLAG_LAYOUT_NO_LIMITS it is not respected on one screen mode
micku7zu thanks for the additional info - from what I understand this is the same issue we discussed on Twitter but with a different repro? Adding the GitHub link so that all the relevant info is here:
https://github.com/micku7zu/SurfaceDuoDispathGestureBug
I downloaded Quick Cursor app (great idea BTW) and noticed that in 1.11.3 you've listed a Surface Duo bug as fixed (Sep 21, 2021). Since this post is from Sep 22, it seems like there are still issues with FLAG_LAYOUT_NO_LIMITS though? To confirm: the cursor tracking part seems to work on both dual-screen and both single-screens, however the click target is wrong when it's only the right screen that's active?
Craig_Dunn wrote:I downloaded Quick Cursor app (great idea BTW)
Thanks! I consider the app extremely useful considering the screen sizes trends and also a necessity for certain people with disabilities.
I don't own a Surface Duo device, I just test it on the emulator, so I don't know exactly how easy is to use the app on it, but I have some users that use the app and reported those bugs.
I want to adapt/fix the app for Surface Duo and for the recently released Surface Duo 2. I've currently made some nasty hacks for Duo for the app to be usable, but the opened discussions can't be fixed because Surface Duo Android implementation doesn't respect the official documentation (or needs to complicated hackish solution).