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

Player Ignoring Rotation setting #1156

Closed
2 tasks done
DanGLES3 opened this issue Mar 2, 2018 · 11 comments · Fixed by #2444
Closed
2 tasks done

Player Ignoring Rotation setting #1156

DanGLES3 opened this issue Mar 2, 2018 · 11 comments · Fixed by #2444
Labels
feature request Issue is related to a feature in the app GUI Issue is related to the graphical user interface

Comments

@DanGLES3
Copy link
Contributor

DanGLES3 commented Mar 2, 2018

  • I carefully read the contribution guidelines and agree to them.
  • I checked if the issue/feature exists in the latest version.

if i start playing a video with rotation off and then turn it on the player won't rotate unless reopened

@mauriciocolli mauriciocolli added the feature request Issue is related to a feature in the app label Mar 2, 2018
@mauriciocolli
Copy link
Contributor

That's a bad UX present in the player, we should alter the icons and add an "Automatic rotation" to the cycle.

@ao2
Copy link

ao2 commented Aug 20, 2018

Please also check the behavior when the screen rotation is Locked in the Andoird settings.

In my case the player insisted in opening the video in portrait mode by default even if the tablet display setting was locked to landscape. I was able to fix the issue with the rotation icon inside NP, but I didn't expect I had to do it explicitly.

Thanks,
Antonio

@theScrabi
Copy link
Member

theScrabi commented Aug 21, 2018

we should alter the icons and add an "Automatic rotation"

Is it necessary to override the systemwide autorotation though? I thought that only having an option to rotate on tapping the icon if autorotation is disabled is enough.

In my case the player insisted in opening the video in portrait mode by default even if the tablet display setting was locked to landscape

That's because the last rotation, when auto rotation was disabled, might have been portrait.

So far we only remember the last rotation if the rotation button was used, however we do not change this value when auto rotation is enabled.

@mauriciocolli Maybe we should:

  1. Listen to if the "autorotation enabled/disabled" get changed while the player is open, so we don't have to reopen the player in order to behave acordingly.
  2. Remember the last rotation even when autorotation is enabled, so that the screenrotation does not suddenly change when someone switches to "autorotation disabled"

@ao2
Copy link

ao2 commented Aug 21, 2018

But is an explicit rotation button necessary at all in the player? Even when autorotation is disabled?

Can't the player derive the current orientation from the system when rotation is locked in Android settings? And avoid remembering the last orientation altogether?

I don't know the history nor the code of the projects, so forgive me if I am missing something obvious.

@stale
Copy link

stale bot commented Dec 1, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 1, 2018
@moneytoo
Copy link
Contributor

I confirm this issue. I didn't even know about the in app rotation button - I kept reopening the video after enabling auto rotation in system.

@Stypox Stypox added GUI Issue is related to the graphical user interface pr-open and removed stale labels Jul 19, 2019
@ronidee
Copy link

ronidee commented Jul 22, 2019

Please do not remove the rotate button from the full screen player.
It's almost the most convenient feature of NewPipe for me.
I never use auto rotate on my phone and hence set the full screen player to always be in horizontal mode, so that it always uses the entire screen.
Not sure if you're planning to remove it or not, so please don't!

@moneytoo
Copy link
Contributor

@ronidee That should still work as before. The fix only allows system "auto orientation" to be properly detected (when already in video and user enables/disables auto rotation in system via quick setting tile).

@theScrabi
Copy link
Member

theScrabi commented Jul 22, 2019

@ronidee you have my word. I'll never let that button be removed.

@ronidee
Copy link

ronidee commented Jul 24, 2019

I know it doesn't really belong here, but I've btw modefied the popupl player, so that it snaps below the toolbar on longpress (and maximizes). Including a switch in settings xml.

Any chance you'd merge that, or is that some kind of niche feature only I find to be handy

@gkeegan
Copy link
Contributor

gkeegan commented Jul 24, 2019

@ronidee I think that is a useful feature. I think submitting a pull request with a video or it in action or something would be much appreciated, and since you already have it made it wouldn't be too much work I would think.

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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants