Bug 154995 - Selecting the entire table should not move the cursor to the last position
Summary: Selecting the entire table should not move the cursor to the last position
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Tables-Select
  Show dependency treegraph
 
Reported: 2023-04-24 22:52 UTC by Rafael Lima
Modified: 2023-05-11 17:33 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)