Summary: | Optionally disable standby when download or upload is in progress (Firefox workaround) | ||
---|---|---|---|
Product: | [Plasma] plasma-browser-integration | Reporter: | postix <postix> |
Component: | general | Assignee: | Kai Uwe Broulik <kde> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | 4wy78uwh, nate, postix |
Priority: | NOR | Keywords: | usability |
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-browser-integration/-/commit/b738862685df6b69adc848733d559e79c30e4f8f | Version Fixed In: | 6.5.0 |
Sentry Crash Report: |
Description
postix
2024-01-06 19:59:39 UTC
Chrome does that on its own, I suppose Firefox should do the same. (In reply to Kai Uwe Broulik from comment #1) > Chrome does that on its own, I suppose Firefox should do the same. I believe I had experienced the same issue on openSUSE TW as well. Unfortunately I cannot find any information about the default Firefox behavior on the web, but will do further research later. Looks like this is an Firefox bug: [1] Firefox doesn't prevent gnome-shell from going into suspend mode while active downloads remain https://bugzilla.mozilla.org/show_bug.cgi?id=1449136 (6 years old) [2] Firefox doesn't prevent Windows from going into suspend mode while active downloads remain https://bugzilla.mozilla.org/show_bug.cgi?id=356762 (17 years old) Could plasma integration maybe add a workaround? It doesn't look like it's going to be fixed any time soon. :-( Could also be bug [3] Downloads get suspended when screen is locked https://bugzilla.mozilla.org/show_bug.cgi?id=1719213 (3 years old) Having p-b-i post a power management inhibition on behalf of Firefox should be trivial (we track all of its running downloads already anyway), but for that lock screen but we cannot do much I guess. > Having p-b-i post a power management inhibition on behalf of Firefox should be trivial
That should be sufficient, thank you in advance! :)
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-browser-integration/-/merge_requests/158 Git commit b738862685df6b69adc848733d559e79c30e4f8f by Kai Uwe Broulik. Committed on 02/08/2025 at 16:14. Pushed by broulik into branch 'master'. Add option to inhibit suspend while downloading There's an ancient Firefox bug report about this that doesn't appear to be going anywhere, so let's just do it ourselves. It's on by default and provided only to Firefox since Chrome inhibits by itself. M +4 -0 extension/_locales/en/messages.json M +5 -3 extension/constants.js M +6 -0 extension/options.html M +24 -3 host/downloadplugin.cpp M +7 -1 host/downloadplugin.h https://invent.kde.org/plasma/plasma-browser-integration/-/commit/b738862685df6b69adc848733d559e79c30e4f8f |