Transition from (GTK) FileChooserDialog to FileChooserNative
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pinta |
Fix Released
|
Medium
|
Unassigned |
Bug Description
GTK3 introduced the GTKFileChooserN
In particular, on Linux systems in heavy containment (E.G, Snap/Flatpak), this class facilitates a way to negotiate file access safely through a sandbox, allowing arbitrary access to any location on the computer in a secure manner and without having to do any extra setup in the ideal cases. It also allows using the KDE file picker on KDE systems through the same mechanism. (XDG desktop portals)
https:/
(I did try give this a go myself but I have zero GTK experience and it wasn't as trivial as changing the class names alone)
Changed in pinta: | |
status: | Fix Committed → Fix Released |
Thanks for the details, it sounds like we should give this a try in the GTK3 branch.
It looks like certain features that we use (e.g. a custom preview widget) might not be available in the native dialog so we'll have to see what the implications are, but those might be reasonable tradeoffs for the benefit of having the standard dialog on each platform.