Bug 124870 - Up key does not move to line ended by hyphen
Summary: Up key does not move to line ended by hyphen
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
4.4 all versions
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
Keywords: bibisectRequest, regression
Depends on:
Blocks: Text-Cursor
  Show dependency treegraph
Reported: 2019-04-21 15:29 UTC by Dávid Horváth
Modified: 2019-05-23 11:07 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

Sample file to demonstrate the bug. (9.49 KB, application/vnd.oasis.opendocument.text)
2019-04-21 15:33 UTC, Dávid Horváth

Note You need to log in before you can comment on or make changes to this bug.
Description Dávid Horváth 2019-04-21 15:29:48 UTC
Up key does not move to line ended by hyphen if you start the moving from a more right position than the hyphen.

Steps to Reproduce:
1. Open a new document, and write some long text.
2. Type a hyphen in a word, ensure that the word will be broken.
3. Move the cursor to a later line's end that is more at the right that the hyphen.
4. Press the up key repeatedly, try to move to the top of the document.

Actual Results:
You can not reach the top. Cursor will get stuck at the start of the line next to the hyphen. (Behavior is the same that this line would be the first line in the document.)

Expected Results:
Cursor should be move to the previous line.

Reproducible: Always

User Profile Reset: Yes

OpenGL enabled: Yes

Additional Info:
Sadly, I can not attach a sample.

Copy the above sample text into a new document with standard settings. Move after the "!" sign. Press the up key repeatedly.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse-cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est! laborum.
Comment 1 Dávid Horváth 2019-04-21 15:33:40 UTC
Created attachment 150902 [details]
Sample file to demonstrate the bug.
Comment 2 Dieter 2019-04-22 04:55:21 UTC
(In reply to Dávid Horváth from comment #1)
> Created attachment 150902 [details]
> Sample file to demonstrate the bug.

I confirm itwith document from attachement 1 and

Version: (x64)
Build ID: 421e6fc3cd2e6fe37afbef341e2d0ad7b8edde37
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-04-07_01:12:58
Locale: en-US (de_DE); UI-Language: en-US
Calc: threaded
Comment 3 Xisco Faulí 2019-05-23 11:07:09 UTC
Reproduced in

Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e

but not in

Version (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)