Bug 154824

Summary: Incorrect table sorting / merged cells
Product: LibreOffice Reporter: Alexander Kurakin <kuraga333>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: kuraga333, raal
Priority: medium    
Version: 4.2.0.4 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103100    
Attachments: Test case file
Before and The step to reproduce
Result

Description Alexander Kurakin 2023-04-15 12:36:23 UTC
1. Create the following table:

|---------|
|A | B | 1|
|---------|
|  |   | 2|
|C | D |--|
|  |   | 3|
|---------|
|E | F | 4|
|---------|

2. Sort it by the first column.

3. Result:

|---------|
|  |   | 3|
|---------|
|  |   | 1|
|A | B |--|
|  |   | 2|
|---------|
|E | F | 4|
|---------|
Comment 1 Alexander Kurakin 2023-04-17 16:05:57 UTC
Created attachment 186738 [details]
Test case file

Version: 7.4.4.2 / LibreOffice Community
Build ID: 40(Build:2)
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Gentoo official package
Calc: threaded
Comment 2 Alexander Kurakin 2023-04-17 16:20:41 UTC
Created attachment 186743 [details]
Before and The step to reproduce
Comment 3 Alexander Kurakin 2023-04-17 16:21:02 UTC
Created attachment 186744 [details]
Result
Comment 4 raal 2023-04-17 19:07:10 UTC
Confirm with Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
and Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 60bce1af8aab2115d603781193bb659b35d1aedb
CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: x11
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 5 Alexander Kurakin 2023-06-02 20:13:55 UTC
Should we mark this as "data corruption bug"? Is there some META, etc?