[Libreoffice-bugs] [Bug 100532] Clear Recent Documents does not clear the ones from the dock.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Mar 9 03:43:17 UTC 2018


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

--- Comment #9 from Ted Lee <tmplee at gmail.com> ---
Found sort of a work around after all.  It turns out you can delete the
properties list that contains the list of recent documents for an app, but to
have the deletion take effect you have to log out of the account; for some
reason rebooting (safe or normal) doesn't delete whatever cache the Dock's info
is kept in.  For LibreOffice the file of interest is ~Library/ Application
Support/ com.apple.sharedfilelist/
com.apple.LSSharedFileList.ApplicationRecentDocuments/
org.libreoffice.script.sfl2
(spaces inserted to allow line wrap.)

One interesting thing I discovered is that the files are identified in that
file by some kind of unique identifier.  If you change the name of a file, you
can still open it via the Dock contextual menu -- but not via the File > Recent
Documents menu(s) in LibreOffice.  While I can't figure out the structure of
the recent documents file, it is clear the filenames are not in it as plain
text strings.  There are about 1,000 bytes per file, most of which appears to
the little icon that is displayed next to the file name.

The bug is (obviously?) that when LibreOffice deletes a file from its internal
recent file list it doesn't tell the Dock to do so too;  I presume there is
some API for that.

-- 
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/20180309/a6d7b8ce/attachment.html>


More information about the Libreoffice-bugs mailing list