https://bugs.documentfoundation.org/show_bug.cgi?id=170946
Bug ID: 170946
Summary: [Writer] [EDITING] Cursor is stuck —can't go up
anymore— because of a URL split over several lines
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:
After selecting the whole text of a document and pressing `Up` a bunch of
times, the cursor is stuck —can't go up anymore— because of a URL split over
several lines.
Steps to Reproduce:
Compared to the other bugs of the bug 169477 series, this one is tricky. I
could only reproduce it with a split URL (i.e. not with a line ending with a
hyphenated word and not with a "long" line without spaces). Also, it requires
the split URL to be on its own paragraph.
I created 2 example documents with a paragraph after the split URL:
- One where the last line of that paragraph is _longer_ than the last line of
the URL
- Another one where the last line of that paragraph is _shorter_ than the last
line of the URL
The bug happens only with the first document, even though both documents are
entirely similar in every other aspect.
1. Open the example document "Lorem Ipsum example with enough text afterwards"
2. Select all the text (e.g. `Ctrl+A`)
3. Press `Up` a bunch of times until reaching the line "show_bug.cgi?id=169477"
4. Press `Up` one more time
Actual Results:
Notice the cursor moves to the beginning of the line.
Expected Results:
The cursor should move on the line above (i.e. "bugs.documentfoundation.org/").
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 URL
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
----------
As mentioned, if the length of the last line of the last paragraph is less than
the length of the last line of the URL, this bug won't happen. At least that's
what my different tests have uncovered.
Try the above procedure with the example document "Lorem Ipsum example without
enough text afterwards" and notice we're not stuck on the
"bugs.documentfoundation.org/" 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 #10 from bug 169477.
--
You are receiving this mail because:
You are the assignee for the bug.