Hello, With GNOME, I'm accessing files on google drive via GIO When opening a file via either nautilus/file browser or via the Open menu of LO, the name displayed above is not the name of the document but some random string (with the word "remote" in parenthesis). The weird part is that the code seems to call the g_file_info_get_display_name() function For what I can see the build in debian unstable is properly built with GIO support
On pc Debian x86-64 with master sources updated today, I could reproduce this.
Created attachment 199972 [details] Screenshot Adding an annotated screenshot to clearly illustrate the problem, showing LibreOffice's titlebar rendering of the GIO file ID instead of the file display name. To reproduce: 1. On GNOME, enable a Google account in GNOME Settings' "Online Accounts" section 2. Launch Nautilus, connect to your Google account as if it was a regular networked folder mount 3. In "My Drive", paste an existing .odt, .docx or whatever such document from somewhere else 4. Click that resulting file to open it in LibreOffice 5. Observe the window title (as per screenshot) See https://gitlab.gnome.org/GNOME/gvfs/-/issues/499 for context. LibreOffice already seems to have this notion somewhere in its codebase indeed, as it mentions `G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME` once in: https://github.com/LibreOffice/core/blob/HEAD/ucb/source/ucp/gio/gio_content.cxx#L466 …but apparently not used in the context of the titlebar (and potentially elsewhere, such as subsequent "Save As" dialogs). I've observed this issue still being present on 24.8 and 25.2. --- Version: 25.2.1.2 (X86_64) / LibreOffice Community Build ID: d3abf4aee5fd705e4a92bba33a32f40bc4e56f49 CPU threads: 8; OS: Linux 6.12; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Flatpak
Note that I tested version 24.8 from Fedora's RPM repositories (not the flatpak version), whereas I tested version 25.2 from the Flathub flatpak version. For Flatpak versions, there may be this additional problem on top, too: https://gitlab.gnome.org/GNOME/gvfs/-/issues/504