<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Opening a document from Start Center does not use last used filter"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=131926">131926</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Opening a document from Start Center does not use last used filter
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Keywords</th>
          <td>easyHack, needsUXEval, skillCpp
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mikekaganski@hotmail.com
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>61914
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Steps to reproduce:

1. Use File->Open to open a PDF *using Writer's PDF filter*.
2. Close all open documents, and open Start Center.
3. Click on the thumbnail of the PDF.

=> it opens in Draw (the default module handling PDFs).

It would be better to use the filter used last time (and thus open in Writer).

Code pointers:

The population of recent items happens in RecentDocsView::Reload
(sfx2/source/control/recentdocsview.cxx). The last used filter is available
from the registrymodifications.xcu along with URL and thumbnail data, and could
be used when inserting items.

Then RecentDocsViewItem::OpenDocument
(sfx2/source/control/recentdocsviewitem.cxx) could use that information.</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [META] Start Center bugs and enhancements"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=61914">Bug 61914</a>] [META] Start Center bugs and enhancements
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>