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

Fix fast seek overlay arc not correctly centered #7893

Merged
merged 1 commit into from
Feb 18, 2022

Conversation

Stypox
Copy link
Member

@Stypox Stypox commented Feb 18, 2022

What is it?

  • Regression bugfix (user facing)
  • Feature (user facing)
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

This PR makes sure that the fast seek overlay arcs share the same paddings as other controls (such as play-pause, brightness, volume, ...). The paddings are being set by the code and are "caused" by the system navigation bar. Play-pause, brightness, volume, ... buttons were correctly centered in the app UI (i.e. all of the screen excluding the navigation bar), while the fast seek overlay was centered in the system UI (i.e. the whole screen), causing a mismatch between the two that looked ugly, as seen in #7731. My way of fixing it might not be the best, as the arc is now not drawn under the system navigation bar anymore (see After screenshot below), but I just wanted to create a PR, I will try to improve it properly later today or tomorrow (though I think the current state is already acceptable).

Before/After Screenshots/Screen Record

Before After

Fixes the following issue(s)

APK testing

The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR.

Due diligence

@triallax triallax added bug Issue is related to a bug GUI Issue is related to the graphical user interface player Issues related to any player (main, popup and background) labels Feb 18, 2022
Copy link
Member

@TobiGr TobiGr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! LGTM
Please target the release branch. New changes have already been merged to dev

This happened in fullscreen player: while play-pause, brightness, volume, ... buttons were correctly centered in the app UI, the fast seek overlay was centered in the system UI, causing a mismatch between the two that looked ugly
@TobiGr TobiGr changed the base branch from dev to release/0.22.0 February 18, 2022 21:06
@sonarcloud
Copy link

sonarcloud bot commented Feb 18, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug GUI Issue is related to the graphical user interface player Issues related to any player (main, popup and background)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Play/Pause buttons are not centered in fullscreen mode / Arc size of double tap gestures is not the same
3 participants