Bug 165028 - GTK version: use the XDG portal to benefit from the desktop environment's native Open / Save file picker chooser dialog
Summary: GTK version: use the XDG portal to benefit from the desktop environment's nat...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All Linux (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Desktop-Integration
  Show dependency treegraph
 
Reported: 2025-02-04 02:02 UTC by Jeff Fortin Tam
Modified: 2025-02-05 23:49 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Fortin Tam 2025-02-04 02:02:16 UTC
Since GNOME 47, a new native filechooser (using Nautilus, GNOME's file manager) has been made available. However, you need to use the appropriate portal to access it (if not using GTK4's FileDialog, which would call it for you).

This would call the desktop environment's preferred file picker; for example, someone running KDE would get KDE's file picker, and someone running GNOME would get the new Nautilus-based file picker.

GNOME 47's file picker, for one, has numerous advantages over GTK's traditional file chooser:

* Better-integrated with the rest of GNOME
* Better listing and searching performance
* Can generate image and video thumbnails (not just display them)
* Very actively maintained


As far as I can tell, LibreOffice currently still opens the old GTK "FileChooserDialog" widget. I have observed this on Fedora 41's GNOME 47 with:

Version: 25.2.0.3 (X86_64) / LibreOffice Community
Build ID: e1cf4a87eb02d755bce1a01209907ea5ddc8f069
CPU threads: 8; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Flatpak
Calc: threaded