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

            Bug ID: 170227
           Summary: After pasting the cursor selection does not move down
           Product: LibreOffice
           Version: 24.8.4.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Description:
If you copy cell and paste text to a different cell, hitting ENTER key does not
advance cursor to next row as expected.

Steps to Reproduce:
"Options" Window
1. Go into `Options`
2. Go to `LibreOffice Calc` category and choose `General`
3. Turn the following items "on" and also change the drop down for the first
item to "Down"
`Press Enter to move selection` [Down]
`Press Enter to switch to edit mode`
`Press Enter to paste and clear clipboard`
4. Close `Options` window

Calc Main Window
(Does not really have to be this specific but just giving a scenario in which
this could occur, but happens regardless)
1. In new spreadsheet type "ORIGINAL TEXT" in A1
2. Apply some formatting to the text added to A1
Bold + Underline + Change background color
3. Then say you wanted to copy that text and its formatting to another cell.
4. Hit CTRL+C to "Copy" that cell A1 and paste its copied contents to A5 by
hitting CTRL+V

5. Now say you want to replace that text you just pasted (so you basically
copied that cells formatting).
There are two ways for user to enter "Cell Edit Mode".....

5a. Typing
-Just typing will overwrite the text you just pasted into A5.
So now type "REPLACEMENT TEXT" which will overwrite "ORIGINAL TEXT".
-Then after you change this text, hit your ENTER key.
-You will notice that the cursor does not move "down" into the next row below
as expected which is A6.  It remains in A5 instead.

5b. Hitting ENTER key
Current behavior for this is tricky because it does make sense but user may
have a different expectation.
User may try hitting ENTER key to enter "Cell Edit Mode" but because A1 is
still selected, the ENTER key actually performs a repeat of the "paste" action,
so a warning dialog appears asking
"You are pasting data into cells that already contain data"

Can still use this approach though.
-After hitting ENTER key and dialog opens
-Hit your ESCAPE key to close dialog
-Hit ENTER key again to enter Cell Edit Mode
-Now type "REPLACEMENT TEXT" which will overwrite "ORIGINAL TEXT".
-Then after you change this text, hit your ENTER key.
-You will notice that the cursor does not move "down" into the next row below
as expected which is A6.  It remains in A5 instead.

So both methods produce the same result where the cursor/selection does not
move "Down" to A6 as expected.

Actual Results:
Cursor/selection remains in the cell that the data is pasted in, does not
advance down when ENTER key is hit.

Expected Results:
I expect cursor/selection to move "Down" after hitting ENTER key.
This behavior does work as expected currently for existing text, it just does
not seem to work the same when text is copied and pasted.


Reproducible: Always


User Profile Reset: No

Additional Info:
Thank you to anyone who reads this and is willing to make this update

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

Reply via email to