-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Very sensitive swiping in portrait mode #22
Comments
Yes, this is a Problem. If you don't know it, it seems Like there are only 2 rooms. |
Thank you for reporting the issue. At the moment I cannot reproduce it - the problem does not occur on the device (Nexus 5, Android 6.0.1) I am using. I would love to try adjusting the |
I didn't find direct contact Info for you @johnjohndoe You can reach me at DECT 2311, so we can have a look together. |
Can we meet around 17:30 at c-base assembly? I will try to call you. |
A follow-up after our recent analysis: What do you think about splitting the function of the two constants: I would see if I can get a toolchain running and try that out if you like the idea. |
Sounds reasonable to investigate. I would certainly clean up the code before (variable names, formatting). |
@eNBeWe Can you please specify above the Android version you are running on your Nexus 5X? Swipes one column
Swipes multiple columns
It might not just depend on the resolution/density of the display but also on the Android version.. |
I am using LineageOS 14.1, resulting in Android 7.1.2 |
@Noxmiles Can you please post the specs of your device? |
The cleanup branch has been merged here: 6753a52 |
@johnjohndoe Moto Z Play. Android 7.1.1. 1920 x 1080 @ 5,5" 16:9 (~400ppi). I could make a video of the problem if you want. |
@Noxmiles Thank you. The video is not needed since I can in general reproduce the behavior. I just have no access to the relevant devices myself. I update the list above to include your device. |
Maybe of interest: What's New in ConstraintLayout mentions that with |
screen-20220423-004047.2.mp4Here's a GIF of the Behavior I mentioned in #479. You can see that I'm flinging to the left, but after watching the GIF a few times, I think it is actually overshooting and then moving back. A possible solution to this would be to switch from calculating the target column when starting the fling, to just snapping to the next column when the velocity is lower than a certain value, although I wouldn't know how to integrate that with the Android API. |
@isiko It is very hard to see when the overshot happens because the GIF replays all the time. Could you instead upload a video (which stops automatically or can be stopped)? |
Updated the Video 👍 |
Thank you. - I downloaded the video to playback frame by frame. What I see is:
|
When using the app in portrait orientation the swiping gesture to move to the next/previous room is very slow. This leads to usually swiping too fast and switching all the way to the first/last room.
System:
Nexus 5X
LineageOS 14.1, Android 7.1.2
Version:
1.33.0
The text was updated successfully, but these errors were encountered: