Bug 142348 - Android Viewer only shows white area for Calc docs instead of rendering doc content
Summary: Android Viewer only shows white area for Calc docs instead of rendering doc c...
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
URL:
Whiteboard: target:7.2.0
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2021-05-18 12:07 UTC by Michael Weghorn
Modified: 2021-05-19 05:45 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
sample Calc document (7.56 KB, application/vnd.oasis.opendocument.spreadsheet)
2021-05-18 12:07 UTC, Michael Weghorn
Details
Screenshot of what it looks like (124.31 KB, image/png)
2021-05-18 12:10 UTC, Michael Weghorn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Weghorn 2021-05-18 12:07:55 UTC
Created attachment 172123 [details]
sample Calc document

With current git master, Android Viewer no longer correctly displays Calc documents, but just shows a white/blank area. That still worked fine in the past.

Steps to reproduce:

1) open a Calc document in Android Viewer, e.g. attached document "three_sheets.ods"

Actual result: blank area shown

Expected result: the document content is shown


Version: 7.2.0.0.alpha1+
Build ID: 9090dc1f3b27
Comment 1 Michael Weghorn 2021-05-18 12:10:45 UTC
Created attachment 172124 [details]
Screenshot of what it looks like
Comment 2 Michael Weghorn 2021-05-18 12:12:44 UTC
Bisecting showed that two commits are related:

From

    commit 1bc42472200c32c9a0a10dd1c3cd6c6a8a5d47d2
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Fri Apr 9 13:59:43 2021 +0200

        tdf#95517 android: Rework app/doc lifecycle handling

on, the document content is *sometimes* not shown correctly and this white area shows up, but sometimes it works just fine.

From

    commit e0094d6fe58eaa9a79b546149cf67db521cd1230
    Author: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
    Date:   Mon Apr 26 10:43:11 2021 +0900

        lok: add rendering and input for form controls in Calc


on, it never works and LibreOffice Android Viewer always just shows this "white area" instead of rendering the document content.
Comment 4 Commit Notification 2021-05-19 05:43:02 UTC
Michael Weghorn committed a patch related to this issue.
It has been pushed to "master":

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

tdf#142348 Use transparent background for Android Viewer, too

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.
Comment 5 Commit Notification 2021-05-19 05:44:13 UTC
Michael Weghorn committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/128f67e0efa02294205a1abe1be874557ecdcecd

tdf#142348 android: Avoid extra refresh after loading doc

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.