[Bug] App freezes when trying to download a video
Checklist
- [x] I make sure that the issue is NOT a duplicate of pinned issues
- [x] I make sure I am using the LATEST version - check here
- [x] I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed
- [ ] I have attached the error report in the issue
Describe the bug
The app freezes when I'm trying to download a YouTube video, in most cases it's enough time to make Android think the app is stuck and I might want it to be terminated.
Frequency
Always (100% of the time)
*Under certain conditions that are unclear to me the app seems to start working with no freezes.
Device
Samsung A52, Android 15 (LineageOS 22.2)
Steps to reproduce the bug
- Try to download any YouTube video. (It may happen to othes platforms too.)
- App will freeze for a few seconds (the menu is NOT shown).
- It's enough time to make Android think the app is stuck in most cases.
Additional context
It's crucial issue for me because the "PipePipe is not responding" menu keeps occuring until I terminate the app.
How do you trigger the download? by long clicking menu?
So I figured out some things:
- It seems like the app freezes only for the first time after setup.
- The download menu may be shown, but not responding (download sizes are not shown during freeze too)
- The app freezes after I click either the "Download" option in long-press video options menu or the "Download" button in the player.
- The app stops getting any other content (such as preview images), yet the UI is working.
- The issue is relevant for BiliBili too.
At the moment I can't check if NicoNico is affected by this too (#1336)
Can you describe the reproduce step with more details?
Try to download any YouTube video.
This step is unclear to me as there are many ways to trigger a download:
- from video detail page
- from long click menu of an item in a list
- ...or from a share with preferred action set to download
whether the video to be downloaded is already fetched also matters.
If possible, a screen recording will help understand the issue better.
Here's videos I recorded.
https://github.com/user-attachments/assets/3278716f-88f1-4891-8339-1b4f630746a4
https://github.com/user-attachments/assets/8bd5fd0f-baaa-4b75-8d15-17da8decce03
Unfortunately I don't have an option other than to watch a video in PipePipe when I share a YouTube link.
(There is a PipePipe icon, but it just opens a video in PipePipe, nothing else.)