Created attachment 179509 [details] Video showing the behavior on a Samsung Galaxy A52s 5G Sometimes, a Calc doc is not rendered initially when opening it in Android Viewer. The attached video shows that on a Samsung Galaxy A52s 5G, where this happens quite often (~80 % of the times I tried). I cannot (can barely) reproduce in an AVD or on my old Samsung Galaxy S4 GT-I9505 instead, so there's apparently some timing issue/race condition. Steps to reproduce: 1) open any Calc document in Android Viewer (e.g. the attached "shapes.ods", but which doc seems to be irrelevant) 2) look Result: Sometimes, the document is not rendered and only a "white area" is shown instead. Reproducible: sometimes (seems to be more often on fast hardware) This is with a current daily build from https://dev-builds.libreoffice.org/daily/master/Android-ARM@86-TDF/2022-04-12_06.08.40/android~2022-04-12_06.08.40_LibreOfficeViewer-strippedUIEditing-debug.apk - as of git commit
Created attachment 179510 [details] Sample doc used in the video (but any should do) As the video shows, everything is fine after tapping the screen. I'm working on a fix.
Michael Weghorn committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/4476fd51a324930e832535c10979564afc6968f2 tdf#148556 android: Don't delay refresh when loading doc It will be available in 7.4.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.