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

Have fast seek overlay arc go under system ui #7898

Merged
merged 1 commit into from
Feb 21, 2022

Conversation

Stypox
Copy link
Member

@Stypox Stypox commented Feb 19, 2022

What is it?

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

Description of the changes in your PR

In #7893 I added padding (equal to the window insets) to the fast seek overlay just as it was done with the player overlays (play-pause, brightness, ...). But as you can see in the "Before" screenshot below, that caused the fast-seek arc to not go under the system ui. This PR instead applies to the fast seek overlay negative margins, for each side respectively equal to minus the window inset of the opposite side. This way the view covers all of the player (overflowing on some sides, but that's not important) and its center still coincides with the center of other controls (which is a requirement, since we don't want #7731).

Before/After Screenshots/Screen Record

Before After

APK testing

I tested on API 19 and API 30 and it worked fine.
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

@Stypox Stypox changed the title Regression arc Have fast seek overlay arc go under system ui Feb 19, 2022
@sonarcloud
Copy link

sonarcloud bot commented Feb 19, 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

@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 19, 2022
Copy link
Member

@litetex litetex left a comment

Choose a reason for hiding this comment

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

LGTM

@litetex litetex merged commit de08edb into TeamNewPipe:dev Feb 21, 2022
@Stypox Stypox mentioned this pull request Feb 23, 2022
3 tasks
@Stypox Stypox deleted the regression-arc branch August 4, 2022 09:49
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.

3 participants