hijack firefox and force portals upon it
ClosedPublic

Authored by sitter on Mon, Feb 4, 3:20 PM.

Details

Reviewers
bshah
jriddell
Summary

they should have implemented native dialogs when they had the choice!
muwahahaha

this is currently limited to firefox and not applied globally because I
am certain it won't be working with everything GTK. so, to prevent random
breakage only firefox for now (which is the single gtk app we ship
by default).

subject for evaluation come 20.04; I fear for 18.04 portal tech in general
is too new to expect everything to work properly.

this relies on portal support being fully provided, which is enabled via
neon-desktop. might move somewhere lower in the stack even, it's a pretty
central part of the containment story.

BUG: 403739

Diff Detail

Branch
Neon/release-lts
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 7864
Build 7882: arc lint + arc unit
sitter requested review of this revision.Mon, Feb 4, 3:20 PM
sitter created this revision.
jriddell accepted this revision.Mon, Feb 11, 4:57 PM

this patch puts a file in debian/neon-settings/usr/bin/firefox which should be in usr/bin/firefox

with that fixed it works well.

This revision is now accepted and ready to land.Mon, Feb 11, 4:57 PM