Description: When choosing a file to open, LibreOffice uses a heuristic to guess the file type, and choose the correct program. In most cases, it does a pretty good job of deciding which program (Calc, Writer, etc.) to use to read the file. However, there are cases where the heuristic fails, and the wrong program is opened. For instance, IIF is a common format of file for data exchange between accounting software (particularly QuickBooks). It is a grid-based, tab-delimited file format that is best edited with a spreadsheet application, such as Calc. However, trying to open an IIF file in Calc results in the Writer application opening the file instead. Changing the file type to "Text CSV" in the open dialog does cause Calc to behave properly. However, it also has the side effect of hiding any file that doesn't have a CSV extension, making it impossible to choose the file. You either have to remember the name and type it in, or remember to choose the file before choosing the file type. Also note that LibreOffice on certain Linux installations don't give you the option of typing the name at all. The above behavior is correct in most situations, and should remain the default. But there needs to be an easy way to override the automatic file type detection, separate from the file extension filter, for edge cases such as this. Steps to Reproduce: 1. Open Calc. 2. Choose File/Open. 3. Pick an IIF file. Actual Results: The file opens in Writer, with no option to change it. Expected Results: There should be some *easy* way to force the file to open in Calc, using the Text CSV import options. Reproducible: Always User Profile Reset: Yes Additional Info: Version: 6.1.6.3 Build ID: 6.1.6.3-1.fc29 CPU threads: 4; OS: Linux 5.2; UI render: default; VCL: gtk3; Locale: en-US (en_US.UTF-8); Calc: group threaded Version: 6.1.3.2 Build ID: 86daf60bf00efa86ad547e59e09d6bb77c699acb CPU threads: 1; OS: Windows 6.1; UI render: default; Locale: en-US (en_US); Calc: group threaded
Created attachment 153423 [details] Demonstration of a file that triggers the bug
it's possible to open the file via command line, e.g.: soffice d:\downloads\demo.iif --infilter="Text - txt - csv (StarCalc)"
(In reply to Oliver Brinzing from comment #2) > it's possible to open the file via command line, e.g.: > > soffice d:\downloads\demo.iif --infilter="Text - txt - csv (StarCalc)" Hello Chris, Does this solution work for you? Otherwise, which other solution do you propose ?
Dear Chris, This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INSUFFICIENTDATA due to lack of needed information. For more information about our NEEDINFO policy please read the wiki located here: https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed. Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-NeedInfo-Ping
Dear Chris, Please read this message in its entirety before proceeding. Your bug report is being closed as INSUFFICIENTDATA due to inactivity and a lack of information which is needed in order to accurately reproduce and confirm the problem. We encourage you to retest your bug against the latest release. If the issue is still present in the latest stable release, we need the following information (please ignore any that you've already provided): a) Provide details of your system including your operating system and the latest version of LibreOffice that you have confirmed the bug to be present b) Provide easy to reproduce steps – the simpler the better c) Provide any test case(s) which will help us confirm the problem d) Provide screenshots of the problem if you think it might help e) Read all comments and provide any requested information Once all of this is done, please set the bug back to UNCONFIRMED and we will attempt to reproduce the issue. Please do not: a) respond via email b) update the version field in the bug or any of the other details on the top section of our bug tracker Warm Regards, QA Team MassPing-NeedInfo-FollowUp