Created attachment 159030 [details] sample doc to reproduce the issue In Android Viewer, when text in a merged cell spans multiple tiles, it is not always rendered correctly. Steps to reproduce: 1) open attached document "partly_shown.ods" in Android Viewer 2) zoom in Result: The text is no longer fully shown, but "cut off" at the bottom (but not yet at the very left; to be exact, not for "the first tile in the first row of tiles"). LibreOffice Android Viewer was self-compiled from master as of commit 7de7512718ac192fcad441d5500d056316f72d72.
Created attachment 159031 [details] Screencast demonstrating the issue.
Created attachment 159032 [details] Modified sample doc for use with gtktiledviewer
Created attachment 159033 [details] Screenshot with gtktiledviewer and indicators for the tile borders The issue can also be reproduced with gtktiledviewer by using the modified sample doc. When showing indicators for the tile borders, it becomes apparent that everything is OK for the first row of tiles and the first tile in the second row, but rendering is broken for all other tiles in the second row, s. attached screenshot taken with gtktiledviewer and env variable LOK_DEBUG_TILES=1 set.
I've looked into the issue myself, this bug report is mostly for documentation purposes.
Michael Weghorn committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/d7e9a1a5f7062749633418ed4971cecbbd5c409e tdf#131593 ScOutputData::GetMergeOrigin: Handle cells outside own area It will be available in 7.0.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.