Closed Bug 1860040 Opened 7 months ago Closed 6 months ago

[flatpak] Add org.freedesktop.PowerManagement session bus permission

Categories

(Firefox Build System :: Third Party Packaging, defect)

Firefox 118
Unspecified
Linux
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: konomikitten, Assigned: jhorak)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0

Steps to reproduce:

On flatpak version of Firefox access to org.freedesktop.PowerManagement is not given so Firefox cannot inhibit the monitor sleeping, the computer itself sleeping, etc. Please consider giving this permission to the Flatpak.

Summary: [flatpak] Add org.freedesktop.PowerManagement → [flatpak] Add org.freedesktop.PowerManagement session bus permission

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.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Blocks: flatpak
OS: Unspecified → Linux
Component: Widget: Gtk → Third Party Packaging
Product: Core → Firefox Build System
Assignee: nobody → jhorak
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

The org.freedesktop.PowerManagement is used for the non-gnome environment - like xfce. I think we can add it to the flatpak even it's considered obsolete now: https://www.freedesktop.org/wiki/Specifications/power-management-spec/

I've since talked to people in the flatpak matrix room and they said it would be better for Firefox to use org.freedesktop.portal.Inhibit. I don't know how viable this is at the moment for Firefox and various desktop environments. I myself would prefer org.freedesktop.PowerManagement added in the short term because it obviously fixes my issue with the flatpak version. But long term it would be better for Firefox to use the portal.

Some links about it:

Portal Documentation - org.freedesktop.portal.Inhibit
xdg-desktop-portal - GitHub

Okay, filled as followup bug 1860269.

(In reply to Jan Horak [:jhorak] from comment #5)

Okay, filled as followup bug 1860269.

given comment #4 we should wontfix the present one ?

Flags: needinfo?(jhorak)
See Also: → 1860269

Yes, won't fix in favor of bug 1860269.

Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Flags: needinfo?(jhorak)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: