<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Clear Recent Documents does not clear the ones from the dock."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=100532#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Clear Recent Documents does not clear the ones from the dock."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=100532">bug 100532</a>
from <span class="vcard"><a class="email" href="mailto:tmplee@gmail.com" title="Ted Lee <tmplee@gmail.com>"> <span class="fn">Ted Lee</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>