Bug 142153 - Android Viewer: Document sometimes not properly rendered after "Save As"
Summary: Android Viewer: Document sometimes not properly rendered after "Save As"
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Android Viewer (show other bugs)
Version:
(earliest affected)
7.2.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Michael Weghorn (away)
URL:
Whiteboard: target:7.2.0
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-07 13:52 UTC by Michael Weghorn (away)
Modified: 2021-05-07 16:33 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screencast showing the issue using an AVD (3.83 MB, video/webm)
2021-05-07 13:52 UTC, Michael Weghorn (away)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Weghorn (away) 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 (away) 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.