Bug 125870 - (LibreOffice-Flatpak) xdg-user-dirs are not displayed within GTK File Chooser (in my case xdg-user-dirs are set to be outside /home)
Summary: (LibreOffice-Flatpak) xdg-user-dirs are not displayed within GTK File Chooser...
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.2.4.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: LibreOffice-Flatpak
  Show dependency treegraph
 
Reported: 2019-06-11 23:05 UTC by antistress
Modified: 2019-06-12 21:46 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot of GTKFileChooser not showing xdg-user-dirs (49.35 KB, image/png)
2019-06-11 23:05 UTC, antistress
Details

Note You need to log in before you can comment on or make changes to this bug.
Description antistress 2019-06-11 23:05:42 UTC
Created attachment 152117 [details]
screenshot of GTKFileChooser not showing xdg-user-dirs

Hi,

I'm using the LibreOffice flatpak version (6.2.4.2) from flathub on Debian Sid 64 bits with GNOME-X11.

When I want to save a document, File Chooser doesn't show any of my xdg-user-dirs.

Note that I have changed default xdg-user-dirs in ~/.config/user-dirs.dirs : my xdg-user-dirs are located in /mnt/ – for instance XDG_DOCUMENTS_DIR is /mnt/data/Documents (/mnt/data/ is on a second drive).

I'm able though to browse /mnt/data/ and open my xdg-user-dirs from there.

See screenshot attached

Note that this bug may be related to those I also have with other applications :
https://github.com/flatpak/flatpak/issues/2949
https://gitlab.gnome.org/GNOME/shotwell/issues/129

Thanks
Comment 1 Stephan Bergmann 2019-06-12 09:19:16 UTC
I cannot reproduce your issue, with latest org.libreoffice.LibreOffice 6.2.4.2 flatpak and latest underlying org.freedesktop.Platform 18.08.32 runtime and Flatpak 1.4.0 on Fedora 30.  After `mkdir ~/HIDDEN-DOCUMENTS` and editing ~/.config/user-dirs.dirs to contain XDG_DOCUMENTS_DIR="$HOME/HIDDEN-DOCUMENTS", doing "File - Open..." shows HIDDEN-DOCUMENTS (instead of the usual "Documents") in the left-hand list of the Open dialog.
Comment 2 antistress 2019-06-12 21:46:56 UTC
(In reply to Stephan Bergmann from comment #1)
> I cannot reproduce your issue

You're right: I've checked my ~/.config/user-dirs.dirs and it seems it has been reset
Once my ~/.config/user-dirs.dirs restored, they're shown within LibreOffice File Chooser.
Sorry for the annoyance
Thanks