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

            Bug ID: 170947
           Summary: [Writer] [EDITING] Cursor is stuck on the second page
                    because of a hyphenated word or a "long" line without
                    spaces
           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

In a document where the text overflows on a second page and with a hyphenated
word or a "long" line without spaces on the first page, after selecting all the
text and pressing `Up` a bunch of times, the cursor gets stuck on the second
page.

Steps to Reproduce:
This bug happens when the text overflows on a second page, both when there's on
the first page:
- a line ending with a hyphenated word
- or a "long" line without spaces (including URLs) split over multiple lines

I provided one example for each:
- Lorem Ipsum example with a hyphenated word
- Lorem Ipsum example with a "long" line without spaces

The same procedure applies for both cases.

1. Open the example document
2. Select all the text (e.g. `Ctrl+A`)
3. Press `Up` until reaching the top of the second page
4. Press `Up` one more time

Actual Results:
The cursor remains at the top of the second page.

Expected Results:
Normally, the cursor should go on the first page.


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` and notice the cursor moving to the next line (okay, but we're
not out of trouble yet)
3. Press `Up` until coming back to the top of the second page
4. Then press `Up` again

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

At this point, the only ways to get unstuck are:
- Move the cursor before the first character of the first line of the second
page and then press `Left` 
- Clicking with the mouse _on the first page_

Note that, contrary to bug 170938, bug 170940, bug 170944 and bug 170946,
switching to another window (i.e. `Alt + Tab`) and then back to Writer doesn't
seem to unstuck the cursor either.

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

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 #11 from bug 169477.

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

Reply via email to