How to reproduce: 1. Open a document (.docx or .odt) 2. Touch the edit button (A with underline) 3. Make a change and it takes effect (e.g. bold some text) 4. Touch the edit button (A with underline) again 5. There is black area (which was covered by bottom toolbar) I think this is due to a missing function call to update viewport after closing the bottom toolbar.
After examining the code. I think this bug is largely due to improper handling of soft keyboard open/close actions. More specifically, there are two ways of opening/closing soft keyboard. One is through the button view, the other is through touching on text and pressing back button on the device. When the user uses the two ways alternately, e.g. clicking on button view to open and press back button on device to close, there is this bug occurring.
(In reply to Ximeng Zu from comment #1) > After examining the code. I think this bug is largely due to improper > handling of soft keyboard open/close actions. More specifically, there are > two ways of opening/closing soft keyboard. One is through the button view, > the other is through touching on text and pressing back button on the > device. When the user uses the two ways alternately, e.g. clicking on button > view to open and press back button on device to close, there is this bug > occurring. I was not totally correct in this comment. This bug is not related to soft keyboard. Rather, it is about a lack of update somewhere. I've been looking for it, but not much luck.
I can confirm that this bug exists in the nightly builds of LibreOffice 5.4 on Android 5.1.1 on a Moto G.
Moving to NEW as per comment 3
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Dear Ximeng Zu, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
With current git master, I can reproduce the issue like this: 1. Open a document (.docx or .odt) 2. tap into the document so that the editing toolbar appears 3. tap the soft keyboard icon in the editing toolbar 4. type some text 5. Touch the soft keyboard button again 5. There is black area (which was covered by soft keyboard before) Version: 7.2.0.0.alpha1+ Build ID: 128f67e0efa0
Pending change https://gerrit.libreoffice.org/c/core/+/115973 fixes the issue for me.
Michael Weghorn committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/4a9eef7849a75ba91806886ea9c96d114c8d56f9 tdf#106893 android: Show whole doc when closing soft keyboard 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.