<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 - IDE editor jumps to text cursor unexpectedly when using mouse wheel to scroll while UI tries to resize column displaying line numbers"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=121444">121444</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>IDE editor jumps to text cursor unexpectedly when using mouse wheel to scroll while UI tries to resize column displaying line numbers
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (All)
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>minor
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>BASIC
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>j.ragan@ms.pl
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
When text cursor is set below (or beyond, depends on scrolling direction)
certain threshold line number (depends on number of lines displayed in the
editor), while scrolling text, when UI should have resized the column holding
line numbers, the editor jumps back to text cursor.

The workaround is, when threshold is reached, to place text cursor at line
number in the hundreds or in the thousands, depending on the desired direction
of continued scrolling.

Steps to Reproduce:
1.Enter about 1200 lines of text or code into the IDE Editor
2.Set text cursor at some line numbering in the hundreds (say 800, but not too
close to 1000)
3.Use mouse wheel to scroll down to line number say 1200

Alternatively:

2. Set text cursor at line 1000 or greater 
3. Use mouse wheel to scroll up to say line 800 

Actual Results:
When UI tries to widen the column to accommodate four digits for line numbers,
editor keeps returning to the line at which text cursor has been placed.
Alternatively, when UI tries to narrow the column to accomodate three digits
for line numbers, editor keeps returning to the line, at which text cursor has
been placed.

Expected Results:
The UI should resize the column holding the line numbers and continue scrolling
text in editor without jumping back to text cursor


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Wersja: 6.0.2.1
Build ID: f7f06a8f319e4b62f9bc5095aa112a65d2f3ac89
CPU threads: 1; OS: Windows 6.1; UI render: domyślny; 
Ustawienia regionalne: pl-PL (pl_PL); Calc: group

Wersja: 6.1.3.2 (x64)
Build ID: 86daf60bf00efa86ad547e59e09d6bb77c699acb
Wątki CPU: 8; OS:Windows 6.1; UI render:domyślny; 
Ustawienia regionalne: pl-PL (pl_PL); Calc: CL</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>