Closed Bug 1938198 Opened 1 year ago Closed 1 year ago

GIO: Add protocolhandler to the list of last handlers.

Categories

(Firefox :: Shell Integration, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: mpohle, Assigned: mpohle)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidedi-ope])

Attachments

(1 file)

When gio mime x-scheme-handler/mailto firefox.desktop is used to configure Firefox as default handler for e.g. the mailto protocol, it also adds Firefox to the mimeapps.list from which for system configuration tools learn about possible handlers (e.g. gnome-> settings-> default apps) . That way users can select another handler and can also switch back to Firefox.

But our current implementation behaves differently and does not allow that. It registers Firefox as current default, but does not add Firefox to the list of known applications for that handler, so that users cannot switch the setting back to Firefox and instead have to either:

  • start Firefox again and re-trigger a protocol handler registration in some way.
  • use the above command.

Adding to that list would improve the OS integration and make the user experience more consistent with other applications. It could also be automatically tested, e.g. by looking for a section of the mimeapps.list called [Added Associations], in which GIO is supposed to place such mime associations per user.

Assignee: nobody → mpohle
Whiteboard: [fidedi-ope]
Priority: -- → P3
Attachment #9444447 - Attachment description: WIP: Bug 1938198 - GIO: Add protocolhandler to the list of last handlers → Bug 1938198 - GIO: Add protocolhandler to the list of last handlers
Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/f3550b2361ab GIO: Add protocolhandler to the list of last handlers r=stransky
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: