<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 - FILEOPEN: "File > Recent documents" and Toolbar Open recent button dropdown arrow menu should show filetypes relevant to the current application"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=130508">130508</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>FILEOPEN: "File > Recent documents" and Toolbar Open recent button dropdown arrow menu should show filetypes relevant to the current application
          </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>Severity</th>
          <td>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>UI
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>nekohayo@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When I hit the "⯆" arrow next to the Open button on the toolbar, I am presented
with a list of 25 "recent documents".

The problem is that when I'm in Calc (or just recently launched Calc because I
want to open a recently used spreadsheet quickly without going through my file
manager), I care only about spreadsheets, and yet Calc shows me the 25 most
recent documents regardless of whether they are spreadsheets or not. So out of
25 items, maybe 20-23 are Writer (.odt) files that are just cluttering up my
view.

Conversely, the same can probably also be said of Writer, Impress, etc.
Typically when I am in Writer I care about text documents, not the rest.


There are two approaches I can imagine to solve this:

- Filtering the "recent documents" menu to fill the 25 entries with only
entries relevant to the application type it is called from

- Alternatively, if you still want to have your cake and eat it too: use two
columns in the menu, populated with 10 (or more) entries each. Indeed,
<a href="https://developer.gnome.org/gtk3/stable/GtkMenu.html">https://developer.gnome.org/gtk3/stable/GtkMenu.html</a> (don't know about other
APIs) lets you have multiple columns. You could therefore have a layout with
some *bold* headers, such as:

----------------------------------------------------------------
| *Recent spreadsheets*        | *Other recent documents*      |
|  1. Foo                      |  1. lalala.odt                |
|  2. Bar                      |  2. sales pitch.odp           |
|  3. Baz                      |  3. TPS report.docx           |
|  4. Marketing budget         |  4. War and Peas.odt          |
|                              |  5. Tools Story.odt           |
|                              |  etc.                         |
| ------------------------------------------------------------ |
| Clear List                                                   |
| ------------------------------------------------------------ |
| Open Template...             | Open Remote File...           |
----------------------------------------------------------------

These two approaches would have the advantage of being able to show MORE
application-relevant file choices, rather than having them buried/outweighted
by other file types.

If however you strictly want to retain a single menu column with all-file-types
in it, there are other solutions, probably less appealing for the user:

- A checkbox in the menu for "[x] Show only documents relevant to the current
application"
- Using a different color (or bold type) to differentiate the documents for the
current application vs the ones meant for other LibreOffice applications to
open.</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>