Description: When using the iOS file manager it is not possible to open two separate files in a row. When opening the second file, the first file will be shown. Steps to Reproduce: 1. Open the iOS file manager 2. Navigate to a folder where you have (at least) two different office files 3. Open the first file using the iOS LibreOffice app 4. Switch back to the file manager 5. Open the second file using the iOS LibreOffice app Actual Results: The first fill will be show instead of the second one. Expected Results: The second file will be shown. Reproducible: Always User Profile Reset: No Additional Info:
Looking into this now.
What happens when opening a document from the Files app is that the CO app's AppDelegate's -[application:openURL:options:] method is invoked. What is needed to fix this bug is to check in that whether a document is already open, and in that case close that properly first, before opening the new one.
*** Bug 124970 has been marked as a duplicate of this bug. ***
Suggested fix in https://gerrit.libreoffice.org/#/c/82007/ (And now I notice that I almost fixed this already back in May, for bug #124970.)
Tor Lillqvist committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/online/commit/9d6c1744624639df75b29bc3b2b72b915b064ed3 tdf#128577: Close an already open document when asked to open a new one
Tested in 4.2.20. The problem is fixed, I think this issue can be closed. @Tor: could you make the fix available in 4.1.x as well? Thanks a lot to the Collabora team and especiall Tor for taking care of this!
The fix is already in the collabora-online-4 branch. (4.1.x) That is where it was worked on initially, and later then applied to the master branch also
This can be closed as fixed.