Geary and portal

Bastien Nocera hadess at hadess.net
Fri Aug 26 11:36:23 UTC 2016


On Fri, 2016-08-26 at 11:12 +0000, Mattias Eriksson wrote:
> When I was trying to create a Geary nightly flatpak, I removed the
> filesystem options, assuming that it then would get filesystem access
> through xdg-desktop-portal. However, that doesn't seem to be the
> case. However, the help menu item seems to work, I get a application
> chooser letting me select the help browser. So is there anything
> special required to get the file chooser dialog to work with portals?
> 
> I have attached the flatpak-builder json so you may look at it and
> test it 

You need to use the "native" GtkFileChooser, which should be trivial to
switch to if you don't have corner-case uses of the file chooser.

You'll also need to make sure that the gtk xdg portal is running (I
think it's still lacking a D-Bus service file to get auto-started).

Cheers



More information about the xdg-app mailing list