<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - LibreOffice Viewer is showing odt contents in a very narrow view on Android phone"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=122453">122453</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LibreOffice Viewer is showing odt contents in a very narrow view on Android phone
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.2.3.3 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>ARM
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Android
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Android Viewer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>alexandru.pentilescu@disroot.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
When opening an ".odt" file saved with the View setting set to "Web view",
instead of "Standard view", LibreOffice Viewer does not set a proper width for
the page view on my phone, making the width extremely narrow and forcing many
words into their own lines and many times cutting off words inside sentences
entirely because they simply don't fit into the view. Zooming out helps a
little by reducing the amount of words that get cut off but the extremely
narrow view still makes the document barely readable, with only 3 words on
average per line. This is despite the fact that the page, when zoomed out
entirely only uses 5% of the horizontal space on my screen in portrait mode (it
expands vertically to occupy 100% of the screen though). When zoomed in
entirely, the letters simply become enlarged and cancels out the effect of more
width space.

Steps to Reproduce:
1. Save an odt file with a lot of text contents (over 2000 words, regular
English) on PC linux LibreOffice Writer with the its view setting set on "Web"
(normal 100% zoom on PC). The document should contain multiple paragraphs.
2. Move file to android phone. Open with LibreOffice Viewer

Actual Results:
Page is too narrow to allow for comfortable reading. Initially width is set to
use 100% of the phone's width screen but text is too large because of zoom
level to make it readable and far too many words get cut off because they don't
fit in one line. Zooming out fixes this partially by decreasing text size but
the viewport shrinks horizontally, still making sentences to be split with 2 or
3 words per line. At the most zoomed out level, the viewport occupies 5% of the
horizonal screen estate and some words still get cut off a bit.

Expected Results:
Viewport should use the maximum screen width available on the phone, even when
zooming out. Or, at least, make the font size/horizontal screen usage ratio
more comfortable for small phone screens.


Reproducible: Always


User Profile Reset: No



Additional Info:
Using android 8.1.0. LibreOffice Viewer version is actually 5.2.3.1/01ec8f3
from the F-Droid repository (didn't see this specific version in your version
dropdown list so I selected an approximation there).
Phone has a 4.7 inch screen in size with a 720p resolution. Maybe the small
screen combined with the high PPI is causing this rendering bug?</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>