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

Add back orientation switch button in full screen #4500

Open
3 tasks done
DrDustwolf opened this issue Oct 12, 2020 · 50 comments
Open
3 tasks done

Add back orientation switch button in full screen #4500

DrDustwolf opened this issue Oct 12, 2020 · 50 comments
Labels
feature request Issue is related to a feature in the app GUI Issue is related to the graphical user interface player Issues related to any player (main, popup and background)

Comments

@DrDustwolf
Copy link

DrDustwolf commented Oct 12, 2020

Checklist

Describe the feature you want

Please reenable/reimplement the video rotation button. It's missing since the update to 0.20.0

Is your feature request related to a problem? Please describe it

It's not possible to easily view a video in fullscreen in Newpipe anymore while laying on one side in bed or on the couch, floor...

Additional context

How will you/everyone benefit from this feature?

It's a hassle to go into Android settings and deactivate the screen auto rotation just to view a video in full screen and to reenable it again afterwards. The button was a very shrewd feature.

@DrDustwolf DrDustwolf added the feature request Issue is related to a feature in the app label Oct 12, 2020
@DrDustwolf DrDustwolf changed the title Please reenable/reimplement the video rotation button that's missing since the update to 20.0 Please reenable/reimplement the video rotation button that's missing since the update to 0.20.0 Oct 12, 2020
@avently
Copy link
Contributor

avently commented Oct 12, 2020

Maybe I didn't understand something but don't autorotation allows you to hold your phone horizontally and view the video in fullscreen in landscape orientation?

@nbmrjuhneibkr
Copy link

nbmrjuhneibkr commented Oct 12, 2020

I'm pretty sure that this issue is about the option to watch videos like this, which doesn't exist anymore in v0.20, because manual video rotation control has been removed.

As the author correctly pointed out,

It's not possible to easily view a video in fullscreen in Newpipe anymore while laying on one side in bed

In 0.20, your only portrait mode is not full screen, and looks like this, which is worse for a number of reasons:

  1. The video is no longer centered during playback, and other UI elements are visible, which may be distracting.
  2. Higher overall screen brightness during playback increases eye strain in dark environments.
  3. Higher battery consumption on OLED screens.

@B0pol
Copy link
Member

B0pol commented Oct 12, 2020

I really don't understand what you mean

It's not possible to easily view a video in fullscreen in Newpipe anymore while laying on one side in bed

Of course you can

In 0.20, it looks like this

Just click on the full screen button: (the button which looks like this [ ] next to 25:29)

@nbmrjuhneibkr
Copy link

nbmrjuhneibkr commented Oct 12, 2020

You're missing the key point:

while laying on one side in bed

If you're lying on your side and holding the phone with one hand, you don't want the video to play in landscape mode, because holding a phone in such position would be very inconvenient (let's hope I don't have to take reference photos to get my point across). Screenshot 1 in my comment (taken in v0.19) shows the optimal way to watch a video in such situation, which is no longer possible with v0.20, because someone thought that manual video rotation control should no longer exist in NewPipe.

@nbmrjuhneibkr
Copy link

And here's another argument in favor of the manual rotation control: there are YouTube videos with 1:1 aspect ratio. Currently NewPipe treats them as landscape videos, and always plays them in landscape mode when you press the full screen button. The video is square, so why does NewPipe have to assume that it should be played in landscape, without giving any choice to the user?

@Stypox
Copy link
Member

Stypox commented Oct 12, 2020

Let's keep discussion in #4383

@Stypox Stypox closed this as completed Oct 12, 2020
@nbmrjuhneibkr
Copy link

#4383 is about a bug that unexpectedly puts the whole app in landscape mode.

This is more relevant to #4414 , which explicitly mentions "Add the force rotation".

@opusforlife2
Copy link
Collaborator

Good point, @nbmrjuhneibkr.

@Stypox, since you've made a PR for #4414 that adds the player switch buttons but doesn't add the rotation button, let's keep this one open for that purpose and leave #4414 for the player switch buttons.

@opusforlife2 opusforlife2 reopened this Oct 12, 2020
@opusforlife2 opusforlife2 changed the title Please reenable/reimplement the video rotation button that's missing since the update to 0.20.0 Add back orientation switch button in full screen Oct 12, 2020
@avently
Copy link
Contributor

avently commented Oct 15, 2020

If you're lying on your side and holding the phone with one hand, you don't want the video to play in landscape mode, because holding a phone in such position would be very inconvenient

You can lock the orientation in portrait via status bar panel. This is what you can do with any apps on a phone. This task shouldn't be made by all apps just because you want it included into the UI. Every feature needs a correct place for it.

This message is not something that needs a reply, it's a final thought that couldn't be changed over time or with a further discussion.

@nbmrjuhneibkr
Copy link

nbmrjuhneibkr commented Oct 15, 2020

You can lock the orientation in portrait via status bar panel.

Did you even read the comment #4500 (comment) ? The orientation is locked. The app is in portrait mode. System-wide auto-rotation is not an issue here. As I mentioned, in 0.19 full screen portrait mode (which is optimal for this situation) looked like this.

In 0.20 this doesn't exist anymore, so the only available portrait mode looks like this,

which is worse for a number of reasons:

  1. The video is no longer centered during playback, and other UI elements are visible, which may be distracting.
  2. Higher overall screen brightness during playback increases eye strain in dark environments.
  3. Higher battery consumption on OLED screens.

This message is not something that needs a reply, it's a final thought that couldn't be changed

Maybe I'm missing something, but the developer of NewPipe is listed as "Team NewPipe", not @avently .
And yet it seems like @avently (who is one of the many contributors, and not even the original creator of the app) has the power to dismiss any input, be it from users or from other contributors. What is happening here?

@avently
Copy link
Contributor

avently commented Oct 15, 2020

@nbmrjuhneibkr

Maybe I'm missing something,
And yet it seems like avently (who is one of the many contributors, and not even the original creator of the app)

You missed something. It's not so important who is the creator of the app because he doesn't develop the app right now. What is important is people who continue to develop the app.

has the power to dismiss any input, be it from users or from other contributors. What is happening here?

I have a power to say my opinion. It doesn't mean who I am, I can say what I think. If I don't like an idea, I (personally) will not implement the idea. It doesn't mean I have a power to say "no" for a feature. Some people can do this but not me.
If you don't see your ideas implemented then nobody have a time or desire to implement such idea.

And where did you see that I

has a power to dismiss any input from other contributors

?

@nbmrjuhneibkr
Copy link

It doesn't mean I have a power to say "no" for a feature.

Alright, so the comment expressed a personal opinion which may not represent the opinions of other NewPipe contributors, and shouldn't overrule their decisions either. Thanks for the clarification.
Comments like that one make this environment appear rather hostile towards anyone who is dissatisfied with major changes introduced by the 0.20 update, and who wants some of them to be optional. So this clarification was necessary.

But what about the misunderstanding of the actual issue, which I pointed out in the first part of my previous comment?

Also, I don't think it's fair to treat requests for features that already existed in NewPipe, but have been removed in the recent update, as other regular feature requests.

@avently
Copy link
Contributor

avently commented Oct 15, 2020

@nbmrjuhneibkr

Also, I don't think it's fair to treat requests for features that already existed in NewPipe, but have been removed in the recent update, as other regular feature requests.

It's not about fairness it's about logic.
See, many years ago you could find other features that don't present now. It is because developers removed something and made the app better with other features. If something is removed this is a sign that the feature shouldn't be in the app. In some cases I removed useful features for others and they should be returned but not in the case of this issue.

@avently
Copy link
Contributor

avently commented Oct 15, 2020

@nbmrjuhneibkr

Also, I don't think it's fair to treat requests for features that already existed in NewPipe, but have been removed in the recent update, as other regular feature requests.

It's not about fairness it's about logic.
See, many years ago you could find other features that don't present now. It is because developers removed something and made the app better with other features. If something is removed this is a sign that the feature shouldn't be in the app. In some cases I removed useful features for others and they should be returned but not in the case of this issue.

But what about the misunderstanding of the actual issue, which I pointed out in the first part of my previous comment?

If you're talking about three points in a list from your top comment then I'm ok with current behaviour. It works like it should.

Importance level of such points is 1 of 10

@nbmrjuhneibkr
Copy link

they should be returned but not in the case of this issue

Again, this doesn't sound like a personal opinion of one contributor, but rather like a final answer for anyone (either user or developer) who thinks that this feature should not have been removed. I'm getting some conflicting messages here.

If something is removed this is a sign that the feature shouldn't be in the app.

But who gets to decide which features should or shouldn't be removed? A community of developers and users, or a single contributor whose understanding of usage scenarios may be too narrow to make decisions that affect the development in major ways?

After some digging I noticed this comment in your initial PR (which was rejected) for the unified player: #834 (comment)
In this comment, original creator of NewPipe points out that manual video rotation control has gained enough recognition to be praised in publications.
It's clear that this feature was neither unknown nor useless. I've never seen anyone asking for its removal, but I already see comments asking for it to be brought back (which I fully agree with).

@avently
Copy link
Contributor

avently commented Oct 15, 2020

@nbmrjuhneibkr you're asking me and than blame that my opinion is not like yours. Man, i'm not interesting in talking on the issue. You know what I think. Nothing will be changed in my mind even if you give another portion of arguments. If you don't like it it's not my problem.

@nbmrjuhneibkr
Copy link

No one ever asked you specifically to address this issue. Last time I checked, there were other developers who are also working on NewPipe. If you're not interested in it, then why are you even commenting on it?

@avently
Copy link
Contributor

avently commented Oct 15, 2020

@opusforlife2 what about closing this too? Or you think it is a good idea to show the fullscreen button even with autorotation enabled?

@opusforlife2
Copy link
Collaborator

I don't know WHERE my comments keep vanishing. Somebody help me with my vanishing problem first. 😩

Anyway, I still think overloading the full screen button to 'force rotate on long press' is a better idea than a separate button. If you're watching a portrait video in full screen, long pressing would turn it to landscape forcefully. And vice versa.

Once you have long pressed on the button to force rotate, all further videos in the queue should obey that orientation.

@avently
Copy link
Contributor

avently commented Oct 15, 2020

@opusforlife2 but this issue is about showing the fullscreen button when autorotation is enabled. So right now a user can rotate the phone to get the orientation rotated. He wants a button which can be clicked to rotate the orientation even with autorotation enabled.
So it's kind of a different issue than what you wrote

@opusforlife2
Copy link
Collaborator

@avently I have no idea what you're talking about.

This is the title of the issue: "Add back orientation switch button in full screen # 4500"

@nbmrjuhneibkr
Copy link

nbmrjuhneibkr commented Oct 15, 2020

but this issue is about showing the fullscreen button when autorotation is enabled

No, that issue is here: #4478

Original description of this issue is kind of confusing, but this part

It's not possible to easily view a video in fullscreen in Newpipe anymore while laying on one side in bed or on the couch

makes sense if this issue is about

Adding back orientation switch button in full screen

Which is the title right now, and the author hasn't expressed any complaints about it so far. And the original title was also about the manual rotation control anyway.

@avently
Copy link
Contributor

avently commented Oct 15, 2020

@opusforlife2 sorry, wrote in the wrong issue. I mean #4478. What for you think about closing it?

@nbmrjuhneibkr
Copy link

I still think overloading the full screen button to 'force rotate on long press' is a better idea than a separate button. If you're watching a portrait video in full screen, long pressing would turn it to landscape forcefully. And vice versa.

This is nice in theory, but it's also yet another feature that users will not discover without reading about it first. All long press actions require additional explanation.

@Stypox
Copy link
Member

Stypox commented Mar 25, 2021

Note: this has to be discussed along with #4478

@opusforlife2
Copy link
Collaborator

What the app used to do in 0.19.x: Tap thumbnail -> App checks last stored orientation - > Opens video in that orientation, always in full screen.

What it does now: Tap thumbnail -> Opens video in embedded portrait -> You can go to full screen by tapping icon/rotating phone. Basically, it removes the portrait/landscape distinction in favour of fullscreen (whether portrait or landscape)/not full screen (embedded portrait).

I think the automatic full screen behaviour is incredibly useful in most scenarios, so I would not want to see it go. Whatever solution is adopted should not distort that behaviour. (The full screen video opens in portrait/landscape depending on whatever fills the device screen best.)

What I propose: A "Force Manual Orientation" toggle in Video and Audio settings to override the automatic full screen behaviour. You turn the toggle on -> You get the orientation switch back. Then the app follows the 0.19.x behaviour again. You tap the full screen button -> App checks last stored orientation -> Goes to full screen in that orientation. -> You can tap the button to switch orientation.

@mof22
Copy link

mof22 commented Mar 27, 2021

Let's see if I can explain better. I do not speak English and I'm using what little I know with the help of a translator.

In previous versions at 0.20.0, I could see a landscape video in full screen while the phone was upright. In this way the video appeared at the center of the screen with a black strip up and another under the video.
Why would I want to do this wasting part of the screen? Because in this way the subtitles were out of the picture of the video without obstructing some part of the image.
This is important for me (and perhaps for others) because the subtitles help me understand some language to which my ear is not used to. Some videos even offer automatic translation in subtitles.

@nbmrjuhneibkr
Copy link

^
This.

And I'd like to add again that it's the most power-efficient way to watch videos on OLED screen, because only ~1/3 of the screen lights up. It also can be good for watching videos is the darkness, when you may not want light up the whole screen right in front of your face for a long time.

@mof22
Copy link

mof22 commented Mar 27, 2021

^
This

I agree.

@nbmrjuhneibkr
Copy link

I think the automatic full screen behaviour is incredibly useful in most scenarios, so I would not want to see it go. Whatever solution is adopted should not distort that behaviour.

I agree that newly-implemented features should not be removed completely in favor of restoring 0.19 features.
Other than the Back button behavior (different issue) - that one is just weird and bad, and would benefit from a full redesign.

What I propose: A "Force Manual Orientation" toggle in Video and Audio settings to override the automatic full screen behaviour. You turn the toggle on -> You get the orientation switch back. Then the app follows the 0.19.x behaviour again. You tap the full screen button -> App checks last stored orientation -> Goes to full screen in that orientation. -> You can tap the button to switch orientation.

Everything that at least makes it possible to use the app the same way as before is fine by me. But I don't see any real benefits from having a separate override toggle in settings instead of just always displaying one button that switches between portrait/landscape/auto (current behavior) in the player UI.

@opusforlife2
Copy link
Collaborator

But I don't see any real benefits from having a separate override toggle in settings instead of just always displaying one button that switches between portrait/landscape/auto (current behavior) in the player UI.

@nbmrjuhneibkr The reason I'm suggesting a toggle is to make it explicitly clear to the user that they are overriding the automatic rotation done by the full screen button.

If you just have the orientation toggle button, then the user could get confused between the automatic behaviour and the manually forced orientations. What would the app remember? The orientation itself? The fact that it needed to be switched in the previous video? It all seems very confusing. The toggle would bypass all these problems, I think.

@opusforlife2
Copy link
Collaborator

Also, once you use the button to force an orientation, how would you go back to the automatic behaviour? Or will the app not remember orientation, making the user use the button each time they play a video?

If such a situation (like lying sideways in bed) arises rarely, it would be okay to let the user tap the button each time. But @mof22's case is universal. They will need to tap the button each time. So it's better if the orientation is remembered.

@nbmrjuhneibkr
Copy link

nbmrjuhneibkr commented Mar 27, 2021

Current automatic orientation switching is bundled with one feature that's actually useful: ability to read comments while the video keeps playing in portrait mode (although there seems to be no way to keep the video on the screen while you're scrolling them, which is a big oversight). I don't think that manual fullscreen orientation control should also eliminate this feature, forcing users to open settings and choose between one or another. Sure, it would be less confusing this way, but also less flexible.

Also, once you use the button to force an orientation, how would you go back to the automatic behaviour?

Press it again?

@opusforlife2
Copy link
Collaborator

@nbmrjuhneibkr Wouldn't tapping the button again just change the orientation? How do you get out of force mode?

Or are you suggesting the orientation button just switch to whatever the opposite of the current orientation is? And then tapping it again slips the app back into automatic mode, also incidentally changing the orientation? Hmm... That has merit. You could just go back to default orientation that way, yeah.

This would work in the scenario where the user has to select the option for every video. What about saving the orientation across videos? How would that work in this case?

@nbmrjuhneibkr
Copy link

There are 3 possible modes in total: auto, manual/portrait and manual/landscape. I suggested that instead of having two different options (auto/manual in settings and portrait/landscape in player) it may be easier to have one button that cycles through all 3 modes. Or displays a drop-down menu with 3 options, maybe - I'm not sure what's more convenient.

v0.19 remembers your last choice for portrait/landscape, and applies it to every video until you change it manually. I don't see problems with doing exactly that, but for 3 modes instead of 2.

@opusforlife2
Copy link
Collaborator

it may be easier to have one button that cycles through all 3 modes

Oh... yeah. That makes far more sense than what I was thinking. 😆

I'm for this idea. We already have the case of the Mute button which changes icons upon changing state. It would be similar in case to show a free rotation/rotation lock sort of combo for the 3 states.

@Stypox
Copy link
Member

Stypox commented Mar 28, 2021

I like the idea of a button. But remember that tablets have three possible states: portrait, landscape non-fullscreen and landscape fullscreen. How would that button handle this?

@niktss
Copy link

niktss commented Mar 31, 2021

Just revert it to how it was before. If video is fullscreen landscape, pressing the button makes it fullscreen portrait. Press again, fullscreen landscape.

It really helped for undoing the work of weirdos who letterbox vertical video into a 16:9 aspect ratio - force portrait fullscreen and then set NewPipe to "Zoom".

@Fandrelo
Copy link

Fandrelo commented May 9, 2021

Before the addition of the unified player, while using the main player on full screen you could press the orientation button and it would force the video in landscape/portrait. This also worked while the video was on "zoom". They should definitely add it back.

@ChiefMikeK
Copy link

Just a suggestion


NewPipe_rotation_mockup

@goyalyashpal
Copy link
Contributor

goyalyashpal commented Oct 19, 2021

i hadnt read the whole details and discussion that went here. jusst saying the problem i was facing for quite time:

a similar issue is the full screen button is not available when screen auto-rotate is on. it becomes sensor dependent then which is kinda frustrating. the suggestion is to have the full screen button there even when system orientation is not locked/free (i.e. auto-rotate is on).

@goyalyashpal
Copy link
Contributor

Just click on the full screen button: (the button which looks like this [ ] next to 25:29)
@B0pol at #4500 (comment)

the problem is there itself. that full screen button is not available when "auto rotate" is ON. see following screenshots:

auto rotate = on auto-rotate = off
photo_2021-10-20_08-56-51 photo_2021-10-20_08-56-50
auto rotate = on photo_2021-10-20_09-05-56
auto rotate = off photo_2021-10-20_09-05-55

@opusforlife2 opusforlife2 added GUI Issue is related to the graphical user interface player Issues related to any player (main, popup and background) labels Oct 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Issue is related to a feature in the app GUI Issue is related to the graphical user interface player Issues related to any player (main, popup and background)
Projects
None yet
Development

No branches or pull requests