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 related items list enqueue popup crash #11614

Merged
merged 5 commits into from
Nov 3, 2024

Conversation

rmtilde
Copy link
Contributor

@rmtilde rmtilde commented Oct 17, 2024

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

  • Changes the InfoItemDialog popup modal for the RelatedItemsFragment to be attached to the parent context of the RelatedItemsFragment. This prevents the popup from not being attached a context when the player automatically changes to the next video and the RelatedItemsFragment is re-initialized.

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. You can find more info and a video demonstration on this wiki page.

Due diligence

@github-actions github-actions bot added the size/small PRs with less than 50 changed lines label Oct 17, 2024
@ShareASmile ShareASmile added bug Issue is related to a bug player Issues related to any player (main, popup and background) and removed player Issues related to any player (main, popup and background) labels Oct 17, 2024
@ShareASmile
Copy link
Collaborator

I pulled these changes to a test branch for a debug apk for the users to test the changes as build failed due to JitPack problems not related to this PR.

Here is the apk created from actions to test.

NewPipe test debug2.zip

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 for the PR!
The code looks good and is well documented 👍
I have a small suggestions which is more about readability and maintainability.

@TobiGr TobiGr self-assigned this Nov 2, 2024
Copy link

sonarcloud bot commented Nov 3, 2024

@TobiGr TobiGr merged commit c0b36b8 into TeamNewPipe:dev Nov 3, 2024
6 checks passed
@Stypox Stypox mentioned this pull request Nov 17, 2024
7 tasks
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 size/small PRs with less than 50 changed lines
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Crash when adding video to the queue after next video starts playing Enqueue UI app crash
3 participants