https://bugs.documentfoundation.org/show_bug.cgi?id=170938

            Bug ID: 170938
           Summary: [Writer] [EDITING] Cursor doesn't go up after pressing
                    `Shift + End` and then `Up` on a line ending with a
                    hyphenated word
           Product: LibreOffice
           Version: 25.8.2.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Hyphenated word: a word split in two with a hyphen

When a line ends with a hyphenated word (i.e. the first part of the word is at
the end of the line and the next line begins with the second part of the word),
after pressing `Shift + End` and then `Up` on that line, the cursor doesn't go
up.

Steps to Reproduce:
As a convenience, I provided a document with a line that ends with a hyphenated
word ("master-builder"). I'm referring to this document in the following steps.

1. Open the example document
2. Find the line "explorer of the truth, the master-"
3. Put the cursor at the beginning of the line starting with the second part of
the hyphenated word (i.e. before "builder" on the line "builder of human
happiness. No one")
4. Select the whole line by pressing `Shift + End`
5. Press `Up`

Actual Results:
Notice the cursor remains on the same line.

Expected Results:
Normally, the cursor goes on the previous line, above the last character of the
line that was selected.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
At this point, it keeps getting worse:
1. Press `Up` a bunch more times and notice _the cursor still doesn't move_
2. Press `Down` a couple of times and notice the cursor moving to the next
lines (okay, but we're not out of trouble yet)
3. Press `Up` a couple of times until coming back to the line that starts with
the second part of the hyphenated word
4. Then press `Up` again

Notice the cursor won't go up, no matter how many times you press `Up`.

At this point, the only ways to get unstuck are:
- Pressing `Right` then `Up`
- clicking with the mouse
- switching to another window (i.e. `Alt + Tab`) and then back to Writer

-------------

This bug report originates from bug 169477 which is a collection of 11 bugs
that all seem to be related. This bug report refers to bug #3 from bug 169477.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to