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

            Bug ID: 163208
           Summary: Text cursor movement gets stuck using up and down
                    arrow keys
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 196788
  --> https://bugs.documentfoundation.org/attachment.cgi?id=196788&action=edit
ODT file showing cursor gets stuck in the start of page 2

Description:
When moving the text cursor using up and down arrow keys, sometimes the cursor
gets stuck. Looking inside the attached example shows that it happens when soft
page break is exactly at the actual page break.

Steps to Reproduce:
1. Open attachment
2. Press and hold down to reach end of the document
3. Press up to move back to the top

Actual Results:
The cursor gets stuck in the last page. Note that the cursor should be adjacent
to the right side of the document. This should happen when you press and hold
down arrow, then press and hold up arrow.

It happens exactly near <text:soft-page-break/> in content.xml, which matches
the point where the page breaks.

<text:p text:style-name="P2" loext:marker-style-name="T1">ببببببببببببببببببببب
ببب ب ب بببببببببببببببببببب ببببببببب بببببببببببب بببببببب ببببببببببببب
ببببببببببببببببب بببببببببببب بببببببببب بببببببب بببببب بببب ببببب ببببب
ببببببب <text:span text:style-name="T2">بببببببب ببببب
</text:span><text:soft-page-break/><text:span
text:style-name="T3">پپ</text:span><text:span text:style-name="T2">
</text:span><text:span text:style-name="T3">پپ</text:span><text:span
text:style-name="T2"> </text:span><text:span
text:style-name="T3">پ</text:span><text:span text:style-name="T2"> <text:s
text:c="2"/>

One other observation is that if you go to the end of first line in the last
page and press up, the cursor oscillates between the beginning and the end of
this line. 

Expected Results:
The text cursor should move to the top of document when holding the up arrow.

Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 0e955c4b236bcf9e66e7b49cc3ae285f1a4a9e32
CPU threads: 12; OS: Linux 6.2; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: CL threaded

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

Reply via email to