Bug 160559 - I'm unable to open documents using Writer even after setting it as the default app.
Summary: I'm unable to open documents using Writer even after setting it as the defaul...
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.1.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-06 04:00 UTC by Sarah Osman
Modified: 2024-04-06 04:16 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sarah Osman 2024-04-06 04:00:59 UTC
Description:
I'm experiencing an issue where I'm unable to open documents using LibreOffice Writer, even after setting it as the default application for document files. Instead, when I attempt to open a document, it automatically opens with the LibreOffice Drawer. This occurs consistently, regardless of file type or method of attempted opening. 

Steps to Reproduce:
1. Open LibreOffice Writer.
2.  Ensure that LibreOffice Writer is set as the default application for opening document files.
3. Attempt to open a document by double-clicking on the file in the file explorer or by selecting "Open" from the LibreOffice Writer file menu.
4. Additionally, try to open documents from outside LibreOffice Writer by right-clicking on the document file in the file explorer and selecting "Open with" > "LibreOffice Writer" from the context menu.

Actual Results:
opens in drawer

Expected Results:
Observe that the document still opens automatically in the LibreOffice Drawer instead of opening in LibreOffice Writer.


Reproducible: Always


User Profile Reset: No

Additional Info:
document open in writer
Comment 1 Mike Kaganski 2024-04-06 04:16:26 UTC
This is not a bug. There is no separate "Draw" or "Writer" in LibreOffice, they are just modules in the monolithic suite; and when the suite starts with a file name, it analyses the file structure, and decided which module to use. That is unless you pass the import filter explicitly, which is much more targeted than just telling which module to use.

But then the question is, which file you are trying to open. Because there is not many file types that both Draw and Writer can open - I think that it's only PDF, for which Draw is the default application in the suite. And in truth, both aren't good options to handle PDF files, better alternatives exist (LibreOffice is not a PDF editing software)*.

If that happens for a specific file type, please describe which. Then you might need to edit the Windows registry to associate these files with a specific command line, which would include the explicit import filter.

* But see https://events.documentfoundation.org/media/libreoffice-conference-2023/submissions/JDSEVU/resources/LO_as_PDF_editor_sbZDN5T.pdf