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

            Bug ID: 170942
           Summary: [Writer] [EDITING] Pressing `End` then `Home` on the
                    first line of a "long" line without spaces split over
                    several lines moves the cursor to the beginning of the
                    next line
           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:
When a "long" line without spaces is split over several lines, pressing the
`End` key followed by the `Home` key on that line will result in moving the
cursor to the beginning of the next line, instead of the beginning of the
current line.

Steps to Reproduce:
As a convenience, I attached a document with a "long" line that's split over 2
lines ("ThisIsAVeryLongLine,ItDoesn'tContain" and "AnySpace"). I'm referring to
this document in the following steps.

1. Open the URL bug example document
2. Find the line "ThisIsAVeryLongLine,ItDoesn'tContain"
3. Place the cursor on that line
4. Press the `End` key to move the cursor at the end of the line
5. Press the `Home` key

Actual Results:
The cursor is now at the beginning of the next line (i.e. "AnySpace")

Expected Results:
The cursor should be at the beginning of the current line (i.e.
"ThisIsAVeryLongLine,ItDoesn'tContain"), like it's normally the case when
pressing the `End` and `Home` keys consecutively


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Notice how pressing `End` will result in the cursor being placed at the end of
the line. To the contrary, when clicking with the mouse at the end of the line,
the cursor automatically gets placed at the beginning of the next line.

---------

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

In particular, this bug is very similar to bug 170935.

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

Reply via email to