Bug 93950 - ODT Documents from Google drive do not open until application cache is cleared
Summary: ODT Documents from Google drive do not open until application cache is cleared
Status: RESOLVED DUPLICATE of bug 93281
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Android Viewer (show other bugs)
Version:
(earliest affected)
5.1.0.0.alpha0+ Master
Hardware: ARM Android
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-05 19:35 UTC by Chaitra
Modified: 2015-10-03 20:01 UTC (History)
2 users (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 Chaitra 2015-09-05 19:35:17 UTC
Problem Deescription : When trying to open .ODT files from Google Drive using LibreOffice Viewer, the viewer fails to start/display the document. Clearing the viewer's application cache resolves this problem and the viewer is then able to open documents from drive.

Steps to reproduce:
1. Open Google drive on the Android phone.
2. Select a document and open it using LibreOffice Viewer. 
3. Repeat this process for some documents. After some documents have been opened when we attempt to open any new documents LibreOffice Viewer fails to start/display the document.
4. Open device settings -> Application. Choose LibreOfficeViewer from the list.
5. Tap on Clear Cache button to clear the application cache.
6. Go back to Google drive and repeat step 2. The document now open successfully.
7. However steps 4-6 should be performed repeatedly after some number of documents are opened.
8. It has been observed that this behavior starts manifesting when the cache size is greater-or-equal to 64 KB.


Expected behavior: LibreOffice Viewer should be able to seamlessly open files from Google Drive.

Actual behavior : Requeires repeated cache clenup in order to open documents from drive. This is not acceptable since it is not obvious to go and clear application cache data to get the viewer working. There are numerous comments on the playstore highlighting this behavior.

Device details:

Build Date and Hardware Information:
Build date : From Playstore (https://play.google.com/store/apps/details?id=org.documentfoundation.libreoffice&hl=en).

Hardware details : 
Android version 5.0.2 (Lollypop).
Kernel version : 3.4.42-g48d3b85
Moto-G(Second Gen).
Comment 1 raal 2015-09-15 16:33:36 UTC
I can not confirm with dev version: 5.1.0.0.alpha1+ , Build ID: 512b782.
Cache 720 kB, I tried to open about 10 documents.
Comment 2 Christian Lohmaier 2015-10-03 20:01:53 UTC
problem only occurs  on  subsequent launches of the viewer, not  when  first  installed  or  launched, I got a workaround... expect a new version of the apk within the next two days.

*** This bug has been marked as a duplicate of bug 93281 ***