-
Notifications
You must be signed in to change notification settings - Fork 896
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
[Bug]: App stops playing (pauses) when it goes to background #4899
Comments
Same here on Ubuntu 22.04 and with Freetube v0.20.0 Beta installed from official download (https://github.com/FreeTubeApp/FreeTube/releases/download/v0.20.0-beta/freetube_0.20.0_amd64.deb). The pausing does not occur instantly, it takes sometimes a few dozens of seconds, but it always stops. The pausing does not occur if there is a Freetube window not in background, even if it is not the window which is playing. |
Can confirm the same in the snap package with the latest version. Terminal logs,maybe relevant ?
|
I also do not know if those errors are relevant or not. But I'm seeing a similar error messages as well:
(in my case: Flatpak version of Freetube 0.20 Beta installed, on Linux (Fedora 40 Beta and Gnome 46) A little searching gave me the impression these messages relate to an upstream issue in Electron and/or Chromium. |
Same bug here. Ubuntu 23.04, installed from the download page (AppImage version)
These are still showing up when the window is visible but unfocused (on a second monitor) but playback is NOT interrupted These also show up on a single-monitor setup when the app loses focus. In that case, it does stop playback |
@JoshuaMacklin could you maybe look into this? There have been allot of bug reports opened since release that are all linux (some also exclusive to flatpak) related. To see all the issue use label filter OS: linux |
I can take a look into this next week when I am free, I also only noticed this after the 0.20 update, can’t believe it’s anything related to the flathub version changes we’ve recently made as I’ve had them back ported to 0.19 for months
|
I'm on latest release from flatpak and am having same issue on fedora 39, app stops playing until it is focused. |
Hello, I have the same problem on arch linux with the AUR package. |
Just wanted to confirm that I'm experiencing the same issue. This can be easily reproduced on KDE by switching to another virtual desktop, which would cause the video to stop playing after a while (and sporadically play-stop-play), despite it being on the foreground in the other virtual desktop. |
Very well could be originating from upstream electron as more people on linux specifically are commenting on it recently. However I did notice on Bazzite Gnome (Gaming oriented Fedora Silverblue w/ extra packages) is not affected even in background and another workspace for an hour. However they do add extra VRR / Video Syncing packages that may be fixing the vsync / sync issues that are arising for others on more stock linux operating systems. My ask to the others that are running into this problem, are you all getting the same https://github.com/FreeTubeApp/FreeTube/actions/runs/8753729711 |
Could you give more details? |
Well, actually. Now I have another problem. When I launch the application, it quits directly. There's this error in the terminal: |
@fadri14 But this is offtopic, could you provide more details on your setup for the main problem discussed here? |
@toby63
Besides, I don’t use desktop environment. I use sway window manager |
In my case no. I'm on a Dell XPS laptop with a 60 hz FHD display. |
experiencing the same issue on Flatpak version on Fedora 40 with Plasma 6. |
experiencing the same issue on Flatpak verision on Manjaro latest with Gnome 46 |
Same here. Been having these issues for weeks, even with the latest FreeTube v0.20.0 Beta (Flatpak). System Details ReportReport details
Hardware Information:
Software Information:
System logsNo related logs in Frontend logsThe only line popping out is:
Not sure if it is related. Frontend eventsLogging events like onvisibilitychange shows that the frontend is not able to use these to distinguish between the window getting minimized or losing focus:
|
Yes to the log question, and yes to owning an HRR screen. However, this issue still occurs when my 165hz monitor is not connected. My laptop's built-in display runs at 60hz Using the build you linked, I am still experiencing the same issues. When the application is in the background, I get long periods of buffering, then a few seconds of audio... then more buffering. In addition, I tried on the most recent build and still get the issue here |
I can confirm that the terminal log shows up. Edit: Just wanted to say, Freetube is a critical software due to my heavy usage for studying. I thank all the contributors and maintainers for developing such a GOATed project :) |
I also think it is most likely the electron version causing this issue. |
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
For other people with this issue who absolutely need freetube, a workaround i am using for now is disabling hardware acceleration. There doesn't seem to be a setting to change this (or at least i haven't found it) so I added It's probably not ideal for less powerful cpus, but at least it works (fedora kde wayland) |
Snap maintainer here, The fix will be pushed to stable channel soon. Tested, it does solve the problem in my use-case, any queries & issues regarding snap version are welcome at: https://bugs.launchpad.net/freetube |
Fedora 40 running Gnome on my laptop (Wayland) and Fedora 38 running Plasma on my desktop (X11). On F40 Gnome/Wayland On F38 KDE/X11. This looks like it confirms that the bug is Wayland related. But again, even on Wayland, Freetube works in the background, with multiple windows over it, as long as it is in the same workspace. Hope it helps, thank you for the terrific work, this app is the best thing since the invention of the holes in the Emmental cheese. |
This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Appears too in Fedora 40/wayland/gnome with the Flatpak version v0.21.3 Bêta |
This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
The problem persists while running on X11/Xwayland. By forcing the app to run on Wayland, it does the trick but all Freetube windows (including in full screen) get offset. Using PIP mode also works on both X11and Wayland. |
I have been experiencing this issue too. The workaround is not working anymore. Is there any plan for Wayland support? |
I can confirm that this still happens on Wayland on freetube v0.22 |
It starts after several minutes and shows only white screen, although audio runs with Wayland only socket enabled. |
@uncharted-user Can you confirm you're running on Wayland by the following command: |
Yes, not only that, I always log in using GDM with Wayland selected and ditched Xorg a year ago. |
This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Still not solved on Wayland! |
Hello! i'm having this issue on:
I already tried Hyprland specific window flags like this: Also every so often the video plays for a few seconds again and then stops, |
The issue seems to be solved with at least the last update, version 0.23. It keeps on playing in the background on both Wayland and Xwayland (X11 on Wayland). Running the Flatpak version, so I can switch between Wayland and Xwayland. Running on Wayland under Ubuntu 24.10. |
i would like others to also chime in and confirm that this is solved for them |
This has been fixed on my end. Freetube Version: v0.23.0 Beta (Flatpak) |
Thanks for the fix. |
Closing as 3 user confirmed that this has been solved |
Guidelines
Describe the bug
Expected Behavior
app should not stop playing but it does
Issue Labels
feature stopped working
FreeTube Version
v0.20.0 Beta
Operating System Version
Debian testing
Installation Method
Flathub
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
No response
Additional Information
No response
Nightly Build
The text was updated successfully, but these errors were encountered: