<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 - UI: Viewport jumps to far when one edits a line end that is not in the current view"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=117314">117314</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>UI: Viewport jumps to far when one edits a line end that is not in the current view
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.0.4.1 rc
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </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>Impress
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>libre@bitmuster.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
Jumping to the end of a line where the line-end is not on the current viewport
(e.g. due to the zoom-level) makes the viewport jump so that the cursor is at
the left side.
This means that the content of the current line is then completely out of
sight. Only the blinking cursor can be seen from the current line.

Steps to Reproduce:
* Create new presentation
* Fill a line almost completely (title or content)
* Increase zoom-level, so that the line end is out of sight
* Select line and press End-Key or Ctrl+A & Left-Key

Actual Results:  
UI viewport jumps so far that content is out of sight

Expected Results:
UI viewport should jump only so far that the content is still in sight


Reproducible: Always


User Profile Reset: No



Additional Info:
The attached screenshot shows the UI with the cursor marked in red.

Version: 6.0.4.1
Build ID: a63363f6506b8bdc5222481ce79ef33b2d13c741
CPU threads: 2; OS: Linux 4.9; UI render: default; VCL: gtk2; 
Locale: de-DE (en_US.UTF-8); Calc: group



User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
Firefox/52.0</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>