Bug 127667 - Assign the usual file extensions / mime types with the iOS app
Summary: Assign the usual file extensions / mime types with the iOS app
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: iOS Editor (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other iOS
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-20 14:09 UTC by Nicolas Christener
Modified: 2019-10-07 08:14 UTC (History)
1 user (show)

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 Nicolas Christener 2019-09-20 14:09:44 UTC
Description:
The following file extensions seem not to be assigned to the iOS app. It should be checked which of them can be used (open/edit/save) by the app and then the file types should be assigned to the app accordingly.

Presentation:
* otp  - ODF, presentation, template
* pot  - MS binary file, presentation, template
* potx - OOXML, presentation, template
* pps  - MS binary file, presentation, template
* ppsx - OOXML, presentation, template
* ppt  - MS binary file, presentation
* pptx - OOXML, presentation

Text:
* doc  - MS binary file, text
* docx - OOXML, text
* dot  - MS binary file, text, template
* dotx - OOXML, text, template
* ott  - ODF, text, template

Table:
* ots  - ODF, table, template
* xls  - MS binary file, table
* xltx - OOXML, table, template

Steps to Reproduce:
1. Create test files with the file types listed above
2. Navigate to the folder containing those files
3. Try to open each file with the iOS app

Actual Results:
The file types listed above are not assigned to the iOS app and can't be opened by tapping such a file in the iOS file browser.

Expected Results:
The files should open with the iOS app


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 How can I remove my account? 2019-09-27 09:58:33 UTC
Assigning the template types to the app is problematic, because loading such a document into LO causes the resulting document to be unassociated to any document file. (In desktop LO it is called "Untitled 1" etc.) And there is no way to handle that at the moment in the app. It is impossible to have document open that doesn't correspond to a document file to which it will be saved. That is why the app has the template functionality, opening a template through that goes through a different code path that first saves the resulting document to make sure it corresponds to a document file.

Checking the other types one by one. A .ppt presentation opens up without issues at least.
Comment 2 How can I remove my account? 2019-09-27 10:07:20 UTC
Also .pptx documents show up and can be opened.
Comment 3 How can I remove my account? 2019-09-27 10:10:01 UTC
Also .doc and .docx documents show up in the browser and can be opened.
Comment 4 How can I remove my account? 2019-09-27 10:13:55 UTC
And also a .xls document shows up in the browsing functionality in the app, and can be opened. Thus what this bug actually is about is an enhancement to make the template types also directly openable. Can I change the bug title?
Comment 5 Nicolas Christener 2019-09-28 14:21:32 UTC
We discussed this detailed and I think we can close this issue.

The problems are UI specific and iOS related (and can probably not be overruled by the app).

A summary (as of iOS 13.1):
* iOS shows file endings for some files and hides others (e.g. it shows *.docx, but hides *.doc)
* iOS shows file previews for some files (e.g. spreadsheet and presentations), but not for text files
* iOS ships with Apple Pages by default, *.doc, *.docx will show an Apple logo therefore
* template files (like e.g. *.odt) can't be opened directly by the iOS app by purpose (use the template manager)

Thanks a lot to Tor for the explanations and for looking into this!