[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 22:16:15 UTC 2018


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

--- Comment #11 from Telesto <telesto at surfxs.nl> ---
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:
https://opengrok.libreoffice.org/xref/core/vcl/osx/salinst.cxx#936

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
https://opengrok.libreoffice.org/xref/core/include/unotools/historyoptions.hxx#73

Only no clue how to do that (not a DEV). 

---
2. The second Recent Documents list is managed in here:
https://opengrok.libreoffice.org/xref/core/sfx2/source/appl/shutdowniconaqua.mm

-- 
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/3a0348bd/attachment.html>


More information about the Libreoffice-bugs mailing list