Bug 154995

Summary: Selecting the entire table should not move the cursor to the last position
Product: LibreOffice Reporter: Rafael Lima <rafael.palma.lima>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: dgp-mail, raal
Priority: medium    
Version: 4.1.0.4 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107200    

Description Rafael Lima 2023-04-24 22:52:12 UTC
In Writer, when you have a table and you want to select the entire table using the arrow in the top left corner (when you place the mouse right outside the table in the top-left corner), the cursor moves to the last cell in the table, at the bottom-right end.

The expected behavior is that the cursor will remain in the first cell (in the top-left corner).

Reasons for this change:
1) The current behavior is bad for tables that are longer than the current view... so when you select the entire table, the view moves to the end of the table, which is very disruptive.

2) Moreover, the current implementation is not consistent with the behavior we have when you select an entire row or column. In these cases, the cursor stays in the first row or column (which is the expected behavior). Therefore, when you select the entire table, the cursor should be positioned in the first table cell.
Comment 1 Dieter 2023-05-06 13:21:57 UTC
I can't confirm it with

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 69d0be09ad81935f7da4b6f8d036c3562357d068
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (de_DE); UI: en-GB
Calc: CL threaded

Actual result:
If arrow appears and you select all rows from a position outsie the table, position of cursor doesn't change. But if you select cells just within the table, cursor position changes.
Comment 2 raal 2023-05-11 17:33:44 UTC
Confirm with Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8cd29dac4046e38bcf14784accab94ad1b4ac4d7
CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

and Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)