https://bugs.documentfoundation.org/show_bug.cgi?id=147005
Bug ID: 147005
Summary: [Linux Flatpak] LibreOffice doesn't stop "saving"
where it can't write to, then "deletes" the "file"
that never existed
Product: LibreOffice
Version: 7.2.5.2 release
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Description:
Currently LibreOffice flatpak does not provide an error/warning prompt when it
is not able to save to a location it does not have access to view
flatseal/bubblewrap.
What occurs, is the user is able to use File menu Save as and pick any location
(even if LibreOffice flatpak does not have access) to save in the file picker
window that appears. Even if you use that file picker to do another save as or
open you can see the file that was created along with the .lock file.
However, if the user looks with their own integrated file explorer which is
Dolphin for me they will see the files were never actually created. Neither the
regular file or .lock.
This makes me curious if this is a bug in:
1) LibreOffice Flatpak
2) Integrated file picker/explorer
3) Bubblewrap/Flatseal
4) Flatpak itself
It is concerning that LibreOffice flatpak "creates" a file that can be seen in
the file picker/explorer pop up but not outside of it.
Steps to Reproduce:
1. Create a document in LibreOffice Calc flatpak
2. Write some stuff
3. Click File and Save as in the menu bar. "save" it to a location there is no
access via flatseal LibreOffice Calc "thinks" the file is saved there as the
file picker suggets
4. Navigate to that location in your file explorer (Dolphin for me).
5. Close LibreOffice Calc flatpak
6. Reopen LibreOffice Calc flatpak
7. The file never existed in LibreOffice Calc apparently
8. Cry because you lost hours of work.
Actual Results:
The file is nowhere to be found.
Expected Results:
LibreOffice would warn the user that they are not able to save to that
directory due to lacking permissions in flatseal/bubblewrap.
Reproducible: Always
User Profile Reset: Yes
OpenGL enabled: Yes
Additional Info:
Operating System: Arch Linux
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.15.16-hardened1-1-hardened (64-bit)
Graphics Platform: X11
--
You are receiving this mail because:
You are the assignee for the bug.