Bug 139561 - End key moves a cursor not to the last cell with data in the row but moves to next cell if last cell is in merged cell range
Summary: End key moves a cursor not to the last cell with data in the row but moves to...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.1 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Calc-Merge-Split
  Show dependency treegraph
 
Reported: 2021-01-12 12:39 UTC by Roman Kuznetsov
Modified: 2023-08-18 17:28 UTC (History)
4 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 Roman Kuznetsov 2021-01-12 12:39:05 UTC
Description:
End key moves a cursor not to the last cell with data in the row but moves to next cell if last cell is in merged cell range

Steps to Reproduce:
1. Create a Calc spreadsheet
2. Select A1:D6 range
3. Set up all borders for the range (use drop-down widget on the toolbar)
4. Select A4 cell
5. Press End key => cursor moves to D4 cell, it's OK
6. Select C4:D4 cell range and merge cells using an icon on the toolbar
7. Select A4 cell
8. Press End key => cursor moves to E4 cell, it's an unexpected behavior. I would expected the cursor will should be on merged C4:D4 cell.

Actual Results:
End key moves a cursor not to the last cell with data in the row but moves to next cell if last cell is in merged cell range

Expected Results:
End key moves a cursor to the last cell with data in the row anyway


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 52a49f9e480ca03e231cfda82640a928393131c9
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: threaded

and I checked in 6.1 too
Comment 1 Roman Kuznetsov 2021-01-12 12:40:31 UTC
Attila, I CC'ed you, because you are a guru in merged cells. 
What do you think about current behavior in this bug?
Comment 2 pavlog 2021-01-14 13:52:01 UTC
I've reproduced it in

Version: 7.2.0.0.alpha0+ (x64)
Build ID: ecb916667b633f8647790e040226b093760e6cfe
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 3 QA Administrators 2023-01-15 03:23:18 UTC Comment hidden (obsolete)
Comment 4 Roman Kuznetsov 2023-01-15 18:17:56 UTC
Still repro in

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b4dc43b6d01d85802d5674c3a27789d6354e39a8
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL threaded