-
-
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
Fix last resize mode not being restored correctly #5792
Conversation
I think the settings key "last_resize_mode" is ambiguous. While it is used to get the recently used resize mode, someone thought while working on the resize mode switcher, that the old (to be replaced) resize mode should be stored. Fixes #5613
I found a temporary fix on my Redmi 8 and Samsung Galaxy Tab A6. What you need to do to keep it on the setting you want is to set the aspect ratio to the one that appears after what you want (For example if you want "Fill" set it to "Zoom") and then close the video. Open any video and it will be set to your preferred aspect ratio. This should still be fixed though, I'm just letting everyone know |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works great for me.
679bc75
to
2aeccc0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was also caused by me, my bad... I tested, and now it works. Code looks good. Thank you :-)
Fix last resize mode not being restored correctly
What is it?
Description of the changes in your PR
The player's resize mode / aspect ratio handling was not stored correctly. For this reason, the resize mode needed to be changed every time the player was started on devices with aspect ratios different to 16:9.
I think the settings key "last_resize_mode" is ambiguous. While it is used to get the recently used resize mode, someone working on the resize mode switcher thought, that the old (to be replaced) resize mode should be stored.
I did not create a settings migration for this change, because we do not know which preferences were affected by this bug, and which were not.
Fixes the following issue(s)
Fixes #5613
APK testing
On the website the APK can be found by going to the "Checks" tab below the title and then on "artifacts" on the right.
Due diligence