-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Rotation buggy in tablet UI #4383
Comments
Are you sure it is not just rotation that is locked? |
The user did mention it:
@Raul1198 The checklist is given there for you to go through and tick as you do each item. |
Yes I'm sure |
You've obviously got the larger tablet UI active on your device, but on most phones step 4 isn't required because when you press on the fullscreen/rotate button (while locked to portrait mode) it'll automatically go into fullscreen landscape mode. And if you press on your navbars back button or the fullscreen/rotate button then it'll revert you back to portrait mode. Having said all of that, I did find a way to make most phones get stuck in landscape too.
You'd expect it to return you to portrait mode, but instead you remain in landscape and can't switch back to portrait until you start another video and press the fullscreen/rotate button. @fourstepper During development I pointed out that the auto-rotate setting often isn't respected and said that people might complain about the merged fullscreen/rotate button because it gives you less control. Unfortunately there's conflicting opinions on how it should be handled though, which is why it's so different in v0.20.0. |
Tablets have different screen aspect and screen size. For example, you can have a large 10" tablet or even larger. It's not a good idea to rotate this giant device back and forth |
Right. Btw the above screenshot are of smartphone |
Ah, but this ui for large screens in landscape. So Android selected this UI for your device because it has ~600dp which is a sign of tablet. I use the DPI setting to enable tablet ui for my phone. Why do you have a large DPI on you phone? And what DPI you have in Developer settings? |
I use the smaller available in my display size to see more content at once, the dpi is 561 . |
@avently: Not DPI, DPI is totally irrelevant. What matters is the amount of dp. |
@Raul1198 that's the answer. If you make the value smaller most of apps will think that you have a phone instead of tablet because it's how android decides (based on amount of that value). So the layout you see is chosen by android after orientation change and nothing we can do here. There is some places when the behavior differs from these form factors. |
Yes, btw how come 0.19.8 works fine with that dpi |
0.19.8 doesn't have per form factor optimization |
Bug of getting stuck in landscape + the merged button have made me revert to 0.19. I thought the latter was a bug too but apparently it's intended then? I guess everyone has their own preferences but for me a 1-click fullscreen button is a must. |
I think this is a major fail, breaking the standard UX of interacting with Android apps which use full screen and landscape |
+1 I'm also back to 0.19 |
Same problem here on a 5" device. It's stuck in horizontal mode when exiting fullscreen. |
All of you who says "I'm stuck in landscape" don't understand the reason probably. Let's listen this reason. All of you have a custom device width size selected from developer settings. You made Android thinking that you have a tablet. So all apps thinks that you have a tablet. NewPipe reacts differently after pressing on fullscreen button on tablets and phones
Or to bound fullscreen button to long click which will allow to force rotate the orientation. If you have others ideas, show them |
I'm not sure why you feel this way but I can't agree with this at all. I use a tablet. The pre-0.20 way of rotating after clicking the fullscreen button was intuitive and convenient. There was nothing uncomfortable about it - I'm pressing full-screen because I want actual full-screen, which on mobile devices involves rotation given >99% of content is made for landscape. Assuming that a user who presses full-screen doesn't actually want full-screen is very.. Apple, and very unlike Newpipe. On a tablet on v0.20.0, after Newpipe has rotated to landscape, it's a pain to get out of it. I have to manually turn rotation on, make it switch to portrait again, and then turn rotation off again. |
Back button doesn't work in your case? |
Here's a suggestion: Put a manual setting up that enables tablet mode for users who want it and disables it for everyone else, similar to how Opera Mini does it. |
Can one or more of the users facing the rotation issue and/or the tablet UI issue post a screenrecord? |
@opusforlife2 you don't need a screenrecord. Just go to developer settings, change minimum display width (or whatever it's called in English locale) to 600 and try to use the app |
Ah. That's weird, indeed.
Possible mitigation for 0.20.1: since the OS is locked to portrait, can the back button be coded to take you back to portrait? Until then we can keep thinking of solutions. Possible solution: If the OS is locked to portrait, make the app always show phone UI. Leave tablet UI for landscape orientation. |
Quoting myself:
I revise that statement, unlocking rotation works now (after a reboot :o) ). However I still need to unlock OS rotation before it goes back to portrait mode again, so now it behaves exactly like opusforlife2 described it. Please excuse my mistake. |
I dont know if this is actually the same bug, but it sounds like it. What i found out while investigating this:
|
Has anyone found a reliable way to force the DP/DPI settings of Newpipe to be low/high enough to avoid tablet detection and becoming being stuck in landscape as a result? |
I wish there was something like that. It would be really nice if there was a switch in the settings that lets you switch between tablet and phone UI. This app is the only one with such a screwed up tablet UI behaviour... |
Here in this fork there's an option to force full screen mode irrespective of tablet or tv - https://github.com/polymorphicshade/NewPipe |
I have seen this happen on phones, even on the newest version with tablet mode disabled. The orientation outside of fullscreen video is forced to portrait, with the manual rotation icon never appearing, and the only way to fix this is by turning on autorotate, rotating, and turning off autorotate again. |
Checklist
Steps to reproduce the bug
Actual behaviour
NewPipes UI is now In Landscape orientation (auto rotation for the device is locked i.e. in Portrait mode)
Expected behavior
NewPipe should have rotated back to Portrait after closing (pressing the full screen box button) the video
Screenshots/Screen recordings
Logs
The text was updated successfully, but these errors were encountered: