Bug 155746

Summary: The file temporary directory should not be pinned
Product: LibreOffice Reporter: Rizal Muttaqin <rizmut>
Component: UIAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: medium    
Version: 7.6.0.0 alpha1+   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on: 38742    
Bug Blocks:    

Description Rizal Muttaqin 2023-06-09 06:29:07 UTC
With the introduction of tdf#38742 LibreOffice now has ability to pin any document but perhaps some type of file like in temporary folder/directory like /tmp should be blocked from pinned.

I am not sure the file on network location should be threated the same or not, but if the network connection lost, opening pinned network located file at least should give an error message.

Version: 7.7.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5a2c6f4df7149f8c1f543f120fe19bd66abfc189
CPU threads: 8; OS: Linux 5.19; UI render: default; VCL: kf5 (cairo+xcb)
Locale: id-ID (id_ID.UTF-8); UI: en-US
Calc: threaded
Comment 1 Heiko Tietze 2023-06-09 07:27:23 UTC
Temporary unavailable documents can be on some external storage (USB, local network, etc), remotely stored (CMIS), and truly temporary. Only for the latter it makes sense to not pin, all other might have reasons to be _temporarily_ unavailable.

But in what scenarios are /tmp (or PATH=temp) files become added to the recent? I mean you wont store it intentionally there.
Comment 2 Rizal Muttaqin 2023-06-09 09:04:34 UTC
(In reply to Heiko Tietze from comment #1)
> But in what scenarios are /tmp (or PATH=temp) files become added to the
> recent? I mean you wont store it intentionally there.

That's my scenario. I often asked to share OOXML formatted file. Instead of saving as in same location as my ODF format which add more garbage I usually Save As the file on /tmp. I would keep ODF as main format and keep updating the content againts it.