Flatpak does not inhibit idle
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
People
(Reporter: yosukematsumura, Assigned: jhorak)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
9.30 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0
Steps to reproduce:
Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0
KDE Plasma 5.27.10
Fedora Linux 39 Kinoite
- Start a YouTube video.
- Idle
Actual results:
Monitor sleeps after time specified in system preferences
Expected results:
Monitor should not sleep while video is playing.
I suspect that this is occurring due to the enhancement that went into effect by https://bugzilla.mozilla.org/show_bug.cgi?id=1860269
As it stands, the X-D-P Inhibit interface does not work:
https://github.com/flatpak/xdg-desktop-portal-gtk/issues/465
https://github.com/flatpak/xdg-desktop-portal/issues/1254
Also sounds similar to another bug, but this still occurs even if the video begins playing while the Firefox application window is in focus, so not quite the same:
https://bugzilla.mozilla.org/show_bug.cgi?id=1877022
Comment 1•11 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Assignee | ||
Comment 2•11 months ago
|
||
Could you please attach logs from MOZ_LOG=LinuxWakeLock:5 firefox
?
Reporter | ||
Comment 3•11 months ago
|
||
Log attached.
Comment 4•11 months ago
|
||
Same here. KDE on Fedora 39. I solved with the following command:
$ flatpak override --user --talk-name=org.freedesktop.ScreenSaver org.mozilla.firefox
Take a look also at this discussion.
Assignee | ||
Updated•11 months ago
|
also convo here: https://bugs.kde.org/show_bug.cgi?id=485376
the flatpak needs to be built with: "--talk-name=org.freedesktop.ScreenSaver" here: https://hg.mozilla.org/mozilla-central/file/tip/taskcluster/docker/firefox-flatpak/runme.sh#l150
users can also add this flag in flatseal > firefox > session bus > talks > "org.freedesktop.ScreenSaver"
Reporter | ||
Comment 6•4 months ago
|
||
Closing this as it has been fixed in KDE.
https://bugs.kde.org/show_bug.cgi?id=486506
Description
•