-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Return to portrait after video finish in fullscreen #5967
Comments
Hi! |
I know about auto rotate working. I was just shocked this is "the expected behaviour". I start fullscreen from portrait, why would I want to go landscape when I exit fullscreen? |
If you click again on full screen button , it will exit the full screen . Also you can check its the same case with the official YouTube app. |
I'm not sure if I'm doing it right, but in official YT, when a video is over, it doesn't exit fullscreen, but pressing any button to exit it returns it to portrait. It doesn't force me to use landscape after a video is over though, which is what NewPipe does and to me seems illogical. If orientation is manually locked by me, and it's in portrait, and I'm therefore using the app in portrait, why would it make sense for it to change to landscape when a video is over in fullscreen? If I browsed to the video in portrait I probably want to browse to the next one in portrait too. |
Nor does NewPipe forces you :), if you tap on "full screen icon" you will successfully return to portrait. |
Agree with all of you, it is a good suggestion, a simple adustment can fix the issue. |
This seems to be only happening in tablet mode (smallest width>=480dp), from my testing. |
Is it intentional behaviour in tablet mode though? Still seems like a bug. If anything, the fact that this works as expected in phone mode proves the point that what is now happening is not expected behaviour. You're right about my display density being high though and reducing it did fix the issue for me. Your PR looks like exactly what we need and I hope it is merged soon. |
I personally don't think that tablet mode offers much, but it breaks quite a few of my expectations, while phone mode does exactly what I want. It doesn't seem to me as if it was expected behaviour, but devs say it is. I find it especially weird that tapping the fullscreen button at first doesn't even open fullscreen, but just toggles the locked orientation. Only the second press opens fullscreen. Until it is merged you can use the debug build generated from the PR: https://github.com/TeamNewPipe/NewPipe/suites/2474591406/artifacts/53233850 |
It's actually not possible to go back into portrait mode at all once you triggered this, except by manually unlocking the device rotation or closing NewPipe. |
It happens on a clean install with my phone for me. |
What is your smallest width? For that go to Developer Options in your phone's settings and check for the value under smallest width. You can also try to manually force phone mode, by disableing tablet mode under the appearance settings in the NewPipe settings. |
Ah you're right. This phone's smallest width is 411. My Newpipe is set to "auto" for tablet mode which is default. I guess I will turn it off but I shouldn't have to do that for Newpipe to not get stuck. |
I have tablet mode off, yet I still face this bug. I'll paste here the solution I suggested in the RC issue:
|
I agree with having it fixed. People who have autorotate disabled have it for a reason: they prefer portrait over landscape while browsing. Basically, Newpipe stays in Landscape after playing a fullscreen video if you close the video without disabling fullscreen first. |
I have a workaround that works quite nicely. I installed Key Mapper (https://play.google.com/store/apps/details?id=io.github.sds100.keymapper) and added the following setup: Long Press Volume Up Button
Double Press Volume Up Button
Double Press Volume Up Button
This allows me to change the screen orientation with a double press of the volume up button (don't do this with the volume down button, because that messes up the screenshot key combination). |
Can this issue be fixed soon because I have been using newpipe for years and after the April update it has been frustrating to watch videos because of this problem. It is very infuriating and it should do what it used to do before. I tried to follow whatever that guy said where if you click on the full screen thing again it would go to potrait mode again, but no it doesn't and it goes back to full screen mode. I prefer using my phone on potrait mode after I leave a video just like every other app such as Netflix, YouTube and many other video platforms. |
Have you tried my workaround with the key mapper? I upgraded to Android 11 and it is still working for me |
@Mjmarahman Please explain this. That button literally cannot take you to full screen mode because that can only happen if a video is played. If the Replay button is visible to you, then you're on the video details page in either portrait or landscape orientation. If your player is going into full screen but without playing the video, then something else is wrong. |
@opusforlife2 I meant it doesn't go back to portrait mode. We literally just want it to go back to portrait mode after exiting the full screen that was on horizontal mode. Step 1. Click on a video on portrait mode. Step 2. Click on Fullscreen mode. Step 3. It will go horizontal mode. Step 4. Play the video. Step 5. Exit by clicking full screen mode again. Step 6. You're in a forced horizontal mode especially when you do not have the auto rotate one. Step 7. To rotate it again, you have to click on the auto rotate again and do it every time you click on a single video on full screen. |
I would love to, but at the moment it just bothers me that the app doesn't do it itself and I had planned to use your method once I have time. |
Sorry, didn't mean to sound snappy at you. I was just frustrated at other people still asking what the issue is 1 year on, when we've all explained what the issue is. |
Perfectly fine man, I'd be in your shoes as well and it is frustrating because this problem hasn't been solved at all for a long while.
On Mar 6, 2022, at 2:48 PM, Frivolous2 ***@***.******@***.***>> wrote:
This is inaccurate. What the issue we all have is:
Bro, I literally described what you had done just without mentioning the "wait till you finish the video" because I literally have this problem either if I do not finish the video or I do finish the video. In your own words within the Actual behavior
Sorry, didn't mean to sound snappy at you. I was just frustrated at other people still asking what the issue is 1 year on, when we've all explained what the issue is.
—
Reply to this email directly, view it on GitHub<#5967 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AWXN2ADJJO3SOJQNNZF4JMLU6SLR7ANCNFSM42EJZWPA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@Mjmarahman Sorry, man. Your steps just don't make sense to me.
How can you do Step 2 before Step 4? The full screen button isn't available if the video isn't already being played. Try this:
At this point, what @Frivolous2 said should happen:
If at any point in the above steps, your device behaves differently than what is written here, then you have some other problem. In that case, please open a new issue and provide a screen recording. If you get the same behaviour, then congrats, you can come sit with us and wait for this bug to be fixed. :) |
Just a tip: as mentioned in #8135, if you completely ignore the fullscreen button and simply use the manual rotation button, Newpipe doesn't get stuck in landscape orientation. That way takes only one extra tap after a video. |
PSA for the unaware: I mentioned this here, but I don't see it explicitly mentioned in this issue: After the video finishes and exits fullscreen into landscape, don't do anything else. Just tap Back. You should be back in portrait mode, with the video page minimised into the mini player. This way, it also preserves your play queue. |
|
Definitely an improvement on how it used to be years ago, but still waiting for a proper fix. Oops, accidentally closed |
Seems 99% fixed. Even tapping the fullscreen button again during or after
the video played, returns NewPipe into portrait mode now.
17 Jul 2022 21:09:06 Frivolous2 ***@***.***>:
… After the video finishes and exits fullscreen into landscape, /don't do
anything else/. Just tap Back. You should be back in portrait mode,
with the video page minimised into the mini player. This way, it also
preserves your play queue.
—
Reply to this email directly, view it on
GitHub[#5967 (comment)],
or
unsubscribe[https://github.com/notifications/unsubscribe-auth/ACBJQ57FW6PXCO3CEGHEU5LVURK5DANCNFSM42EJZWPA].
You are receiving this because you commented.[Tracking
image][https://github.com/notifications/beacon/ACBJQ5ZJALTJEGJIAOIB4JLVURK5DA5CNFSM42EJZWPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI247CGA.gif]
|
Indeed. Tapping the full screen button after the video ends, instead of tapping Back, works too. |
I still just ignore the fullscreen button completely and instead just use the manual screen rotation button in the navbar. |
That's not an option for those who have hardware buttons, though. Unless they specifically enable the navbar and disable their hardware buttons. |
Yeah, unless you use Key Remapper to remap rotating the screen to some keys. I remapped "doubleclick volume up" and "ALT + $" (for when I have the fairberry keyboard attachment on the phone, which is actually almost all of the time). |
This seems to hsppen to me on my S21 as well. When a video finishes, it halfway exits fullscreen, by which I mean all the comments UI and stuff appears but it doesn't rotate back to portrait. One can complete this half-exit by pressing the fullscreen button, or one can re-enter full-fullscreen by scrolling to earlier in the video. In my opinion, NewPipe should either fully exit fullscreen when a video finishes, or just stay in fullscreen like the official app. This weird half-fullscreen is just unintuitive. |
Right now tapping the "enter to fullscreen mode" button after the video ends is needed to go back to portrait mode. This is so confusing and unintuitive. I can't believe this is considered expected behavior by some people or that this simple bug is unfixed for over two years. NewPipe is a excellent app but this one thing bugs me a lot. |
The only way I can see how this could be a minor issue is if you have a newer device with only software buttons. That way, when you physically rotate your screen, a little icon pops up that lets you rotate your phone manually. This is how it works on my Galaxy A52s now, but this option is not available to people with hardware navigation buttons like my old phone, and people running Android Oreo or below. It also takes an extra tap, which is annoying. If I remember correctly, this was filed as a bug because before v0.21.0, the normal behaviour was the app exiting fullscreen to portrait when rotation was locked, so I genuinely thought this was a bug. As further time passes, it seems more and more like an intentional design decision which NewPipe doesn't want to walk back on |
@Frivolous2 If this behavior is intentional I don't know what to say. And it worked reasonable before. Truly incomprehensible decision to change something to worse without any reason and refuse to fix the issue. |
I don't see any saying this is intentional behavior. It's just that nobody has bothered to create a PR fixing this issue yet. |
@fwsmit @HFPasfho There have been one or two attempted fixes (one by me) for this. I don't think this was ever intended behaviour, as evidenced by this bug report still being open and not closed. But the relevant piece of code is not trivial at all, even though the behaviour looks deceptively trivial. @HFPasfho Maybe have a look at it, could be you find an easy fix that the others have missed. NewPipe is a pretty complex work, the code is not easy. And yes, it looks super simple from the user perspective, but there's a lot going on behind the scenes. Also, afaik there is no monetary incentive behind the app, so work time is at a premium and there 1200 other issues open in the issue tracker, many of which are much more pressing. For this issue, there is the workaround of ignoring the fullscreen-button and instead use device rotation. If you want to have this issue be fixed as a priority by the people who actually know the code (read, not me), I am pretty sure a significant donation matching the required work hours could go a long way. |
@Dakkaron I'm not the one saying it's intentional behavior. I'm the one who is surprised by such suggestion some people claimed in this thread. Also a "fix it yourself" attitude isn't an inappropriate answer. This is a bug tracker after all and it's for reporting bugs. |
@HFPasfho This is a bugtracker, yes, and the bug has been tracked. It is logged and all the information that could be necessary (from the user view) is already added. So further complaining won't help with fixing the bug. Also, you are mistaking the attitude. It's not "fix it yourself" but rather "somebody's gotta fix it". This is a free, open-source project. Unless you contributed (either in code or in money) you are just reaping free software from someone else's work. Which makes you not entitled to command someone else to implement fixes you like. The devs on this project prioritize bugs in accordence to their preferences. Complaining and maybe even getting offensive will not influence this list of priorities in your favour. Putting your money where your mouth is might. A "I am using your free app so I am entitled to dictate what you spend your free time on" attitude is definitely not appropriate. (Just as a disclaimer, I am not affiliated with NewPipe. I contributed one PR once. I am commenting, because an attitude like yours caused many great opensource devs to give up on opensource work. Please remember, you are reaping the fruit of the unpaid free time work of really gracious open source devs. This app is not developed by some company. You don't pay for it, and frankly, be happy you are allowed to use it for free. You are not entitled to anything at all, and as far as I can see, you haven't contributed anything either.) |
@Dakkaron This is some big misunderstanding. I don't speak english and inferring from your response translator must made me sound like an asshole. If that's the case that wasn't my intention. I ended up in this thread because it turned out my problem was described by someone else earlier and my topic has been closed (I couldn't find this issue due to my english). You are right further discussions aren't very helpful at this stage. I gave a thumb up on first comment and I just hope one day this issue will be solved. |
@HFPasfho Sorry, the translation is unreckognizably good. So it's not visible that it's a translation. I just got triggered by that, because as an open source developer you are often target of mobbing due to people treating you like a big company. If you want to, e.g. read up on M66B, who almost shutdown his collection of amazing open source apps after receiving a string of death threats due to people not liking changes he made or didn't make. In the end, he reduced this to deleting all his public accounts, because he couldn't stand all that anymore. |
@Dakkaron It's hard for me to judge the quality of the translation. Good job Google I guess, but judging by your reaction, it probably could have chosen some synonyms better. I didn't mean to cause any harm, so I wrote a disclaimer. But it's a bit pointless to pursue this topic further, so I'll stop there. |
The app treats full screen and Portrait as one and the same thing, doesn't it? |
Checklist
Steps to reproduce the bug
Actual behaviour
The video exits from fullacreen and NewPipe is stuck in landscape. You have to enable autorotate to fix it.
Expected behavior
NewPipe returns to portrait, the mode I launched the video from.
Screenshots/Screen recordings
Logs
Device info
The text was updated successfully, but these errors were encountered: