Skip to content
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

screen orientation changes back and forth #51

Open
zilexa opened this issue Aug 19, 2018 · 7 comments
Open

screen orientation changes back and forth #51

zilexa opened this issue Aug 19, 2018 · 7 comments

Comments

@zilexa
Copy link

zilexa commented Aug 19, 2018

Just a minor bug on Pixel 1 with Android 9.0.
Tested in WhatsApp: TapAndTurn is running and active. In Android, Auto rotation is enabled. The option "Automatically return to default orientation" is active.

  1. While holding your phone vertical, open WhatsApp.

  2. Turn the phone horizontal.

  3. The icon appears.

  4. DO NOT tap the icon, wait for it to disappear. The phone stays in portrait while you are holding it horizontal.

  5. Now turn the phone vertical again...

  6. EXPECTED: nothing should happen now because the orientation of the screen has never been changed, it is portrait the whole time.

6.. Actual behaviour: at step 5, AFTER going from horizontal back to vertical, I am looking at portrait mode but the orientation suddenly jumps to the orientation jumps to landscape and back to portrait.

When I disable the option "Automatically return to default orientation", this does not happen. But I prefer keeping it on..

Just to be clear: it changes the orientation twice at a moment when I am holding my phone vertical. This should never happen: it should only change the orientation once. And only if the current orientation is not the default one.

@licaon-kter
Copy link
Contributor

"Automatically return to default orientation" - works as expected... is this a translation issue? The Default orientation is Portrait....hence...it...returns...to...Portrait...

/close as invalid

@zilexa
Copy link
Author

zilexa commented Aug 20, 2018

No, please read again: there is nothing to return to because I did not tap the button!
So the screen orientation is portrait the entire time even when I am holding my phone horizontally.

Yet when I hold my phone vertical again, TapAndTurn changes the orientation to landscape for 1 second and then reverts it back to portrait.

It should not change the orientation to landscape.

I have rewritten my text hopefully it is more clear.

@licaon-kter
Copy link
Contributor

Ok, right. Saw this glitch too.

@gabm
Copy link
Owner

gabm commented Oct 16, 2018

@zilexa @licaon-kter is this still happening.. unfortunately I am not able to reproduce!?

@licaon-kter
Copy link
Contributor

Yes, it looks like it loses control for a second then regains it. Can't repro at will.

@zilexa
Copy link
Author

zilexa commented Oct 28, 2018

Sorry I don't use your app anymore because on Pixel 1, Android 9.0 the exact feature is now built in! The button to rotate appears in my navigation bar. It works just as your app.

@rubslopes
Copy link

rubslopes commented Nov 9, 2018

I was also having this on Oreo 8.1. I solved it by turning the system auto rotation off. Everything else still works fine and now the glitch is gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants