<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#c11">Comment # 11</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:telesto@surfxs.nl" title="Telesto <telesto@surfxs.nl>"> <span class="fn">Telesto</span></a>
</span></b>
<pre>The Recent Documents implementation is odd ..
1. The regular 'jumplist' in the dock
2. A second - unnecessary? - version under File -> Recent Documents
-----
1. The regular one
The adding part of the regular 'jumplist' is managed here:
<a href="https://opengrok.libreoffice.org/xref/core/vcl/osx/salinst.cxx#936">https://opengrok.libreoffice.org/xref/core/vcl/osx/salinst.cxx#936</a>
More specific:
NSDocumentController* pCtrl = [NSDocumentController sharedDocumentController];
[pCtrl noteNewRecentDocumentURL: pURL];
It's possible to clear the Apple Dock document list using something like this:
[pCtrl clearRecentDocuments:nil]
probably in connection with this
<a href="https://opengrok.libreoffice.org/xref/core/include/unotools/historyoptions.hxx#73">https://opengrok.libreoffice.org/xref/core/include/unotools/historyoptions.hxx#73</a>
Only no clue how to do that (not a DEV).
---
2. The second Recent Documents list is managed in here:
<a href="https://opengrok.libreoffice.org/xref/core/sfx2/source/appl/shutdowniconaqua.mm">https://opengrok.libreoffice.org/xref/core/sfx2/source/appl/shutdowniconaqua.mm</a></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>