https://bugs.documentfoundation.org/show_bug.cgi?id=169422

            Bug ID: 169422
           Summary: Android Viewer: Better handle app/window size changes
           Product: LibreOffice
           Version: 26.2.0.0 alpha0+ master
          Hardware: All
                OS: Android
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Android Viewer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 203954
  --> https://bugs.documentfoundation.org/attachment.cgi?id=203954&action=edit
Screencast showing current behavior when resizing the app window

While traditionally, apps on Android devices may have been using a fixed size
(the whole screen size) in most cases, that's not so much true any more these
days.

As originally reported to me by someone else, this results in a non-optimal
view of the document when the app window gets resized.

# Sample steps to reproduce:

(s.a. attached screencast)

1) set up a desktop AVD (Android Virtual Device)
2) run Android Viewer
3) open the license document by opening the menu -> "About" -> "License"
   (or alternatively, use any other Writer document)
4) reduce the window width a bit
5) increase the window width

# Actual result

in step 4): not the full width of the document is visible any more
in step 5): unused space: there is extra "gray background" instead of zooming
into the document

# Expected result

When the app window size changes, the view should automatically be adjusted to
better position the document and apply a "proper" scale factor to make use of
the space.

# More information

For a device that doesn't support resizing the app window, a similar scenario
to the above is rotating the device. The behavior is similar to the one
described above.

Double-tapping on the document canvas can be used to manually adjust the view,
but something reasonable should be done "automatically".

Relevant:
https://developer.android.com/develop/ui/compose/layouts/adaptive/support-multi-window-mode#resizeableActivity

# Version:

Version: 26.2.0.0.alpha0+
Build ID: 69aeb20d07a5

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to