[Libreoffice-bugs] [Bug 136736] LibreOffice Vanilla fails to open some files from StartCenter

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jan 19 12:26:55 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=136736

--- Comment #13 from Alex Thurgood <iplaw67 at tuta.io> ---
(In reply to Tor Lillqvist from comment #12)
> Alex, so is this what happened?
> 
> - Initially, the document in question does not appear in the Start Centre in
> TDF LibreOffice and not in the Start Centre of LibreOffice Vanilla either.
> This is important to check, in order for this test to be relevant.
> 
> - You open the document in TDF LibreOffice, and then quit it.
> 
> - If you run TDF LibreOffice again, the document (naturally) shows up in
> Start Centre, and it opens if you click on that. Quit TDF LibreOffice again.
> 
> - Now you run LibreOffice Vanilla. The document appears in that StartCentre,
> too (but does not open). That is appears here would be a bit surprising.
> 


Yes, it certainly seems to be very similar to what you describe as the
scenario.
Needs confirmation from my side.



> I had thought that LibreOffice Vanilla uses a separate "profile" directory
> than the non-sandboxed TDF LibreOffice and that thus the list of recent
> files is separate, too. But if the above happens, they apparently share the
> list, but then LibreOffice Vanilla does not have access to files that have
> been opened earlier only in TDF LibreOffice.
>


Looking at this just now, the profiles aren't shared, at least the list of
recent documents is different between the two applications.



> Another possibility is that the profiles (including the list of recent
> documents) are separate, as expected, but if you edit a document in
> LibreOffice Vanilla, and save it, LibreOffice Vanilla saves the
> security-scoped bookmark for it. If you then open the same document in TDF
> LibreOffice, and then save it, the security-scoped bookmark for the file
> that LibreOffice Vanilla has stored is no longer valid, because it is in a
> sense no longer the same document. It might have the exact same pathname,
> but when you have saved it inbetween in another app (TDF LibreOffice), the
> file has actually been removed and a new file with the same pathname
> created. Thus it is actually a different file.

I'll check this scenario as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210119/d6e6746a/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list