Bug 121444 - IDE editor jumps to text cursor unexpectedly when using mouse wheel to scroll while UI tries to resize column displaying line numbers
Summary: IDE editor jumps to text cursor unexpectedly when using mouse wheel to scroll...
Status: RESOLVED DUPLICATE of bug 130925
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
4.1 all versions
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: BASIC-IDE
  Show dependency treegraph
 
Reported: 2018-11-15 11:55 UTC by Julian Ragan
Modified: 2020-02-25 16:20 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
File with sufficient number of macro code lines within module1 (8.66 KB, application/vnd.oasis.opendocument.spreadsheet)
2018-11-15 11:56 UTC, Julian Ragan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Ragan 2018-11-15 11:55:50 UTC
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
Comment 1 Julian Ragan 2018-11-15 11:56:45 UTC
Created attachment 146665 [details]
File with sufficient number of macro code lines within module1
Comment 2 Julian Ragan 2018-11-15 12:13:18 UTC
I have also seen some erratic behavior while scrolling by dragging the vertical scroll bar on the side of editor window.
Comment 3 Julian Ragan 2018-11-21 14:17:57 UTC
I have also reproduced with:

Wersja: 6.2.0.0.beta1 (x64)
Build ID: d1b41307be3f8c19fe6f1938cf056e7ff1eb1d18
Wątki CPU: 8; OS:Windows 6.1; UI render:domyślny; VCL: win; 
Ustawienia regionalne: pl-PL (pl_PL); UI-Language: pl-PL
Calc: CL
Comment 4 Xisco Faulí 2019-01-14 17:25:00 UTC
I can reproduce it in

Version: 6.3.0.0.alpha0+
Build ID: 1977291fc08de7425db469e21bd2ad385e722707
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded
Comment 5 Xisco Faulí 2019-01-14 17:28:03 UTC
and

Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Comment 6 Xisco Faulí 2019-01-14 17:40:56 UTC
@Caolán, i thought you could be interested in this issue...
Comment 7 christian_kuhn 2019-08-11 22:09:28 UTC
I can reproduce it with 

Version: 6.3.0.0.alpha1
Build-ID: 1:6.3.0~alpha1-2
CPU-Threads: 2; BS: Linux 4.19; UI-Render: Standard; VCL: kde5; 

If line number exceeds 1000 while I am scrolling down, UI jumps back to line 975. If I am scrolling up and scroll over line 1000, UI jumps to line 1021.
Comment 8 Xisco Faulí 2020-02-25 16:20:42 UTC
duplicate of bug 130925

*** This bug has been marked as a duplicate of bug 130925 ***