Bug 67787

Summary: EDITING: Text cursor trail in formula editor
Product: LibreOffice Reporter: Olexa <olexa>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: 79045_79045, barta, brucehohl, fdbugs, raal, telesto, xiscofauli
Priority: medium Keywords: preBibisect, regression
Version: 4.1.0.4 release   
Hardware: Other   
OS: Windows (All)   
Whiteboard: BSA
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 116143    
Attachments: Some cursor trail left
Calc cell edit cursor artifacts
Test ODS file and 2 png image results

Description Olexa 2013-08-05 12:49:56 UTC
Created attachment 83661 [details]
Some cursor trail left

Problem description: Moving formula editor cursor by keyboard arrows leaves a trail of cursor ghosts. This makes the editor very difficult to use. It looks like the problem is caused by function syntax helper.

Steps to reproduce:
1. Create a new Calc document.
2. Press F2, type a long formula.
3. Press and hold Left Arrow keyboard key.

Current behavior: Moving cursor leaves a trail of its ghosts in previous positions. When Left Arrow key is released, some cursor ghosts keep being displayed.

Expected behavior: Just one cursor is displayed.

              
Operating System: Windows XP
Version: 4.1.0.4 release
Last worked in: 4.0.4.2 release
Comment 1 brucehohl 2013-09-02 12:21:11 UTC
Created attachment 85057 [details]
Calc cell edit cursor artifacts
Comment 2 brucehohl 2013-09-02 12:41:14 UTC
I can confirm this bug and that it has existed for both the Linux and Windows versions since about 4.0.  Yesterday, I downloaded and checked the Linux version 4.1.1.2 and confirmed the problem remains.

To reproduce this bug press F2 to Edit a cell which contains a formula WITH PARENTHESES, then use the Left / Right arrow keys to move within the cell.  A trail of cursor artifacts will result which makes editing the formula difficult or practically impossible.  

Moving the cursor all the way to the right or left or past a parentheses temporarily clears some or all of the artifacts.  Practically, the user has to edit these formulas with the Formula bar or use the mouse to position the cursor which is inefficient.  The bug also degrades aesthetics.
Comment 3 brucehohl 2013-11-21 13:53:04 UTC
Work arounds for this:
(1) Use the Formula bar to edit formulas.
(2) For 'in-cell' editing via pressing F2 only re-position the cursor with the mouse.
(3) For 'in-cell' editing via pressing F2. The initial cursor position is at the end or right so for the first Left Arrow move also press the Shift key. After this, all remaining L/R Arrow movements can be made without the shift key and no cursor artifacts remain.
Comment 4 Robinson Tryon (qubit) 2015-12-10 01:28:52 UTC Comment hidden (obsolete)
Comment 5 Xisco FaulĂ­ 2016-09-13 10:51:02 UTC
This regression was introduced before branch 4.4, thus it can't be bibisected with the current bibisect repositories. Changing keyword 'notBibisectable' to 'preBibisect'
Comment 6 brucehohl 2016-09-13 11:11:14 UTC
Since Version 5.2.x I have not experienced the cursor trail issue on Windows or Linux. 5.2.x also introduced "extended" formula tips. Perhaps whatever work was done to bring these "extended" formula tips corrected this issue.
Comment 7 raal 2016-10-13 17:40:08 UTC
(In reply to brucehohl from comment #6)
> Since Version 5.2.x I have not experienced the cursor trail issue on Windows
> or Linux. 5.2.x also introduced "extended" formula tips. Perhaps whatever
> work was done to bring these "extended" formula tips corrected this issue.

Olexa, please could you retest? Thank you
Comment 8 brucehohl 2016-10-14 00:51:21 UTC
Created attachment 127998 [details]
Test ODS file and 2 png image results

I would like to qualify my comment 6. On three computers with Linux + LO 5.2 and one computer with Windows 7 + LO 5.2 I no longer see a cursor trail. On my work computer with Windows 7 + LO 5.2 the problem occurs only with some formulas.  An example is attached. Thus, since 5.2 this problem seems limited to certain hardware/driver/OS combinations.
Comment 9 QA Administrators 2017-10-23 14:14:22 UTC Comment hidden (obsolete)
Comment 10 Telesto 2018-02-15 20:03:51 UTC
No repro
Version: 6.1.0.0.alpha0+
Build ID: 06cfd5a962f9d8d9462fc270f1b1f730c90bddfe
CPU threads: 4; OS: Windows 6.3; UI render: default; 
Locale: nl-NL (nl_NL); Calc: CL
Comment 11 QA Administrators 2019-02-16 03:42:42 UTC Comment hidden (obsolete)
Comment 12 Roman Kuznetsov 2019-02-19 10:55:13 UTC
don't repro in

Version: 6.2.1.1
Build ID: 757c58e8cb70b2982843211a54750fb3cd79acd5
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; 
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: threaded

Status->WFM