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

Fixed search not accepting key input after closing player overlay #7607

Merged

Conversation

litetex
Copy link
Member

@litetex litetex commented Jan 1, 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

Supersedes #7592

Fixes the problem by checking if the corresponding views have focus and only focuses them if that's not the case.

If this should still cause problems we can also limit the method call to Android TV devices.

Before/After Screenshots/Screen Record

NPDemoSearchFix1.gif.mp4

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

@litetex litetex added bug Issue is related to a bug player Issues related to any player (main, popup and background) labels Jan 1, 2022
Copy link
Collaborator

@XiangRongLin XiangRongLin left a comment

Choose a reason for hiding this comment

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

Otherwise looks good

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 2, 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

Copy link
Collaborator

@XiangRongLin XiangRongLin left a comment

Choose a reason for hiding this comment

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

I did not test it out myself, but from the gif it works.

@XiangRongLin XiangRongLin merged commit ddcbe27 into TeamNewPipe:dev Jan 3, 2022
@litetex litetex deleted the fix-search-key-input-when-closing-player branch January 3, 2022 12:23
This was referenced Feb 11, 2022
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 player Issues related to any player (main, popup and background)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Keyboard doesn't appear on search sometimes
2 participants