Bug 81811 - ExtTextEngine (macro editor, spelling dialog) refuses to stay in column 1 during keyboard navigation on OSX
Summary: ExtTextEngine (macro editor, spelling dialog) refuses to stay in column 1 dur...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
4.2.5.2 release
Hardware: x86-64 (AMD64) macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-27 14:50 UTC by Matthew Francis
Modified: 2017-08-26 17:15 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Video showing the bug in the macro editor (148.07 KB, video/mp4)
2014-08-17 05:13 UTC, Matthew Francis
Details
Video showing the bug in the spelling dialog (65.08 KB, video/mp4)
2014-08-17 05:14 UTC, Matthew Francis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Francis 2014-07-27 14:50:11 UTC
Within the macro editor, when the cursor is in column 1, navigating up or down using the keyboard always jumps forward to column 2

Steps to reproduce
1. Open any macro in the macro editor
2. Place the cursor in column 1 somewhere in the file
3. Go up or down using the keyboard

Result
The cursor jumps forward to column 2 as well as performing the requested up / down navigation. Further up / down navigation remains in column 2


The macro editor should be cured of this irrational hatred of column 1
Comment 1 Matthew Francis 2014-08-07 16:47:08 UTC
This problem is also exhibited by the top text box in the spellcheck dialog, which at a quick poke through the source probably puts it in the region of the ExtTextEngine class (vcl/source/edit/xtextedt.cxx)

Steps to reproduce for the spellcheck dialog:
1. Create a new Writer document
2. Type a few lines of nonsense with some spelling errors and no line/paragraph breaks (this has to be enough that the sentence splits over several lines when shown in the spellcheck dialog. Note that some spaces are required - words over 64 characters long are apparently not considered for spellchecking purposes)
3. Open "Tools" -> "Spelling and Grammar" and make sure the line typed is the sentence being examined
4. Place the cursor at the start of a line of text in the top text box of the dialog, and navigate up and down using the keyboard. As with the macro editor, the cursor will fail to stay at the beginning of the line


Updated summary
Comment 2 Matthew Francis 2014-08-17 05:13:26 UTC
Created attachment 104748 [details]
Video showing the bug in the macro editor

Only Up, Down and Left keys used. It wanders right all by itself
Comment 3 Matthew Francis 2014-08-17 05:14:04 UTC
Created attachment 104749 [details]
Video showing the bug in the spelling dialog

Only Up, Down and Left keys used. It wanders right all by itself
Comment 4 Matthew Francis 2014-08-17 05:16:07 UTC
One extra symptom: It seems hard to place the cursor at the start of the line using the mouse sometimes - this too tends to warp to the second column
Comment 5 Yousuf Philips (jay) (retired) 2014-09-07 18:13:47 UTC
Hi Matthew,

Do you have a sample file with a macro, as i dont. :)
Comment 6 Yousuf Philips (jay) (retired) 2014-09-07 18:20:27 UTC
I pasted some random text into the main subroutine and didnt have the problem in 4.2.6 or master.
Comment 7 Matthew Francis 2014-09-07 18:22:52 UTC
Could be OSX specific then
Comment 8 Yousuf Philips (jay) (retired) 2014-09-08 10:51:52 UTC
Tested the issue in the spelling dialog and didnt have a problem there as well on Linux, also tested macro and spelling on 4.3.1 on Windows and no problem, so this seems to be mac specific.
Comment 9 Alex Thurgood 2014-10-15 14:45:14 UTC
Confirming also on

Version: 4.4.0.0.alpha0+
Build ID: 7dc6c9af4ba313f054331f5130470d83d875bc16

OSX 10.9.5
Comment 10 tommy27 2016-04-16 07:26:37 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2017-05-22 13:22:41 UTC Comment hidden (obsolete)
Comment 12 eisa01 2017-08-26 17:15:13 UTC
Macro editor works fine for me, the cursor does not jump to column 2

Version: 5.4.0.3
Build ID: 7556cbc6811c9d992f4064ab9287069087d7f62c
CPU threads: 2; OS: Mac OS X 10.12.6; UI render: default; 
Locale: de-DE (de_NO.UTF-8); Calc: group