Bug 34214

Summary: EDITING - selecting merged cells
Product: LibreOffice Reporter: trvalentine
Component: CalcAssignee: Kohei Yoshida <kohei>
Status: RESOLVED FIXED    
Severity: normal CC: cno, jcdiazlz, trvalentine, vitriol_vitriol
Priority: medium    
Version: 3.3.0 release   
Hardware: x86 (IA32)   
OS: Windows (All)   
Whiteboard: target:3.5
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 108320    

Description trvalentine 2011-02-12 10:34:09 UTC
Win XP
LibreOffice 3.3.0
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4

Calc:
1) Merge two or more cells horizontally
2) Select the merged cells
3) Holding the Shift key, use the Right Arrow key to attempt to select additional cells

OR

1) Merge two or more cells vertically
2) Select the merged cells
3) Holding the Shift key, use the Down Arrow key to attempt to select additional cells

Either way, Calc will not expand the selection from the merged cell.

Workaround:
Select the cells in the opposite direction, even if dealing with
several merged cells and beginning in a merged cell.
Comment 1 Cor Nouws 2011-02-12 15:20:09 UTC
can confirm the behaviour on Linux.
[Is different from how OOo works, BTW]
Comment 2 vitriol 2011-05-20 10:34:41 UTC
*** Bug 37415 has been marked as a duplicate of this bug. ***
Comment 3 Kohei Yoshida 2011-05-27 17:11:44 UTC
Fixed on master, for 3.5.

http://cgit.freedesktop.org/libreoffice/calc/commit/?id=5d7c7c865913f70f41b6e76cccc0e984a48c4e95

The change turned out to be bigger than I hoped, as I had to re-work the whole selection expansion code to get this to work correctly.