Bug 160839

Summary: "Recent Documents" file open menu items filenames from remote sources have %20 instead of spaces (URI entities not unquoted)
Product: LibreOffice Reporter: Jeff Fortin Tam <nekohayo>
Component: UIAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: minor CC: stephane.guillou
Priority: low    
Version: Inherited From OOo   
Hardware: All   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 61174, 118000    
Attachments: Screenshot

Description Jeff Fortin Tam 2024-04-27 04:25:51 UTC
Description:
Recently opened documents from remote folders will show up urlencoded/quoted in the recent documents files list, with a bunch of "%20" instead of spaces, unlike local files. See attached screenshot.

Steps to Reproduce:
1. With the Nautilus file manager on Linux / GNOME, visit a SFTP GVFS mount (i.e. you visited a sftp://someserver/some/folder/ and then opened whatever.ods from that folder)
2. Look at the File > "Recent Documents" menu entries

Actual Results:
Lots of %20 in the filename, as per attached screenshot with the "sftp: " prefixed item.

Expected Results:
Unquote/decode the filenames so that they show up human-readable like local files.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 8; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: en-CA (en_US.UTF-8); UI: en-US
Flatpak
Calc: threaded
Comment 1 Jeff Fortin Tam 2024-04-27 04:27:08 UTC
Created attachment 193875 [details]
Screenshot
Comment 2 Stéphane Guillou (stragu) 2024-05-13 01:02:11 UTC
Reproduced with:

Version: 24.2.3.2 (X86_64) / LibreOffice Community
Build ID: 433d9c2ded56988e8a90e6b2e771ee4e6a5ab2ba
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

(Flatpak or not, using WebDav)

Also in 7.3.7.2 and a recent daily build. Window title not affected.