Bug 142153

Summary: Android Viewer: Document sometimes not properly rendered after "Save As"
Product: LibreOffice Reporter: Michael Weghorn <m.weghorn>
Component: Android ViewerAssignee: Michael Weghorn <m.weghorn>
Status: RESOLVED FIXED    
Severity: normal CC: m.weghorn
Priority: medium    
Version: 7.2.0.0.alpha0+   
Hardware: All   
OS: All   
Whiteboard: target:7.2.0
Crash report or crash signature: Regression By:
Attachments: Screencast showing the issue using an AVD

Description Michael Weghorn 2021-05-07 13:52:24 UTC
Created attachment 171747 [details]
Screencast showing the issue using an AVD

Android Viewer sometimes does not render the whole document properly, but for some or all tiles, a black area is shown instead.

The best way to reproduce this for me was using the "Save As" feature:

1) open an existing document
2) use the "Save As" menu entry to save under a different name
3) check what the document looks like
4) if rendering is complete and OK, continue at step 2 until the issue occurs

The attached screencast shows the issue.
I could reproduce this pretty often on my x86 AVD, but only rarely on a "real" smartphone, a Samsung Galaxy A8.


Android Viewer self-built from git master:

Version: 7.2.0.0.alpha0+
Build ID: b43ab86df783
Comment 1 Michael Weghorn 2021-05-07 14:06:06 UTC
Pending fix: https://gerrit.libreoffice.org/c/core/+/115241
Comment 2 Commit Notification 2021-05-07 16:33:12 UTC
Michael Weghorn committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/bcd7a7244208a15e36a724270c72b496e77f84bf

tdf#142153 android: Delete unused textures immediately

It will be available in 7.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.