Bug 96789 - Android Viewer keyboard covers text if text at end of the odt file
Summary: Android Viewer keyboard covers text if text at end of the odt file
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Android Viewer (show other bugs)
Version:
(earliest affected)
5.2.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-29 13:22 UTC by Gülşah Köse
Modified: 2021-05-21 17:32 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
example odt file (12.27 KB, application/vnd.oasis.opendocument.text)
2015-12-29 13:22 UTC, Gülşah Köse
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gülşah Köse 2015-12-29 13:22:46 UTC
Created attachment 121608 [details]
example odt file

1- Open file at the attachment.
2- Touch to text end of the first page.

You will see that keyboard covers the text you want to edit. It should be automatic focus where you touch.
Comment 1 QA Administrators 2017-03-06 13:41:47 UTC Comment hidden (obsolete)
Comment 2 QA Administrators 2019-12-03 14:53:44 UTC Comment hidden (obsolete)
Comment 3 Michael Weghorn 2021-05-21 17:30:39 UTC
I cannot reproduce this and from how I understand it, this works as expected because AndroidManifest.xml now has

    android:windowSoftInputMode="adjustResize"

so this was presumably fixed by

commit 985474a03f902e088d25e005a7d6499037ed8e12
Author: Ximeng Zu <uznomis@yahoo.com>
Date:   Wed Aug 2 11:23:55 2017 -0500

    [Android Viewer] Fix windowSoftInputMode
    
    Fix the wrong parameter in AndroidManifest.
    When changing android:windowSoftInputMode,
    one should not specify multiple "adjust..." or "state...".
    
    Change-Id: I0dcacd846d4fe5c2976fe1708b29086b98f2607b
    Reviewed-on: https://gerrit.libreoffice.org/40686
    Tested-by: Jenkins <ci@libreoffice.org>
    Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>

The commit message in my pending Gerrit change https://gerrit.libreoffice.org/c/core/+/115973/1 has some more information on that since I came across this while looking into tdf#106893.
Comment 4 Michael Weghorn 2021-05-21 17:32:26 UTC
(In reply to Michael Weghorn from comment #3)
> I cannot reproduce this ...

... with Android Viewer self-compiled from git master as of commit 128f67e0efa02294205a1abe1be874557ecdcecd, that is.