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

            Bug ID: 131926
           Summary: Opening a document from Start Center does not use last
                    used filter
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: easyHack, needsUXEval, skillCpp
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]
            Blocks: 61914

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.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=61914
[Bug 61914] [META] Start Center bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to