<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Fix hardcoded location for .recently-used file"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=122114#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Fix hardcoded location for .recently-used file"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=122114">bug 122114</a>
              from <span class="vcard"><a class="email" href="mailto:sbergman@redhat.com" title="Stephan Bergmann <sbergman@redhat.com>"> <span class="fn">Stephan Bergmann</span></a>
</span></b>
        <pre>From looking at recent master, ~/.recently-used appears to only be used by
shell/source/unix/sysshell/recently_used_file.cxx, which is only used by
shell/source/unix/sysshell/recently_used_file_handler.cxx, which in turn
(through  its exported add_to_recently_used_file_list function) is only used by
X11SalInstance::AddToRecentDocumentList in vcl/unx/generic/app/salinst.cxx. 
The latter is the generic Unix (vclplug_gen) implementation of
SalInstance::AddToRecentDocumentList (vcl/inc/salinst.hxx) introduced in
<<a href="https://gerrit.libreoffice.org/plugins/gitiles/core/+/9e18c9ee07c6e8f9a62cdcb0237b183283a275ae%5E!/">https://gerrit.libreoffice.org/plugins/gitiles/core/+/9e18c9ee07c6e8f9a62cdcb0237b183283a275ae%5E!/</a>>
"CWS-TOOLING: integrate CWS cmcfixes62", quoting which: "This function may have
no effect under Unix because there is no standard API among the different
desktop managers."  (Note how AquaSalInstance::AddToRecentDocumentList,
GtkInstance::AddToRecentDocumentList, and
WinSalInstance::AddToRecentDocumentList interface with platform-specific
"recently used document" functionality, while
SvpSalInstance::AddToRecentDocumentList and
Qt5Instance::AddToRecentDocumentList just do nothing.)

It looks like LO itself is not reading ~/.recently-used (for anything but
reading it in to write out a modified version via
X11SalInstance::AddToRecentDocumentList), and I have no idea whether any other
component of a Unix-like system would make use of that file.  My gut feeling is
that it won't hurt to just drop all of this functionality, and make
X11SalInstance::AddToRecentDocumentList do nothing.  (In which case the
reference to .recently-used could probably also be dropped from
sysui/desktop/apparmor/program.soffice.bin.)  Maybe it makes sense to discuss
this on the <a href="mailto:libreoffice@lists.freedesktop.org">libreoffice@lists.freedesktop.org</a> mailing list.</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>