Bug 147087 - Automatic filling changes merged state of target cells
Summary: Automatic filling changes merged state of target cells
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Calc-Merge-Split
  Show dependency treegraph
 
Reported: 2022-01-31 12:49 UTC by Peter Gierschner
Modified: 2024-09-14 18:18 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Small Testfile (8.53 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-01-31 12:51 UTC, Peter Gierschner
Details
Auto fill from 1st value (15.73 KB, image/png)
2022-01-31 22:06 UTC, Krithi
Details
Auto fill from last value (11.89 KB, image/png)
2022-01-31 22:06 UTC, Krithi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Gierschner 2022-01-31 12:49:32 UTC
Description:
 In the appended test file some lines are concatenated in column B and identical in column A. 
Automatic filling of cells in Column A changes these cocatenation in Clumn Achanges previously made cell concatenations.

Steps to Reproduce:
1.Mark the first three cells in column A
2.fill the remaining cells in column A by dragging the small square down the column


Actual Results:
The concatenation of the cells in column A has been altered

Expected Results:
Filled column with unchanged concatenations in column A


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: de
Module: SpreadsheetDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: no
Comment 1 Peter Gierschner 2022-01-31 12:51:30 UTC
Created attachment 177931 [details]
Small Testfile
Comment 2 Krithi 2022-01-31 22:05:02 UTC
I tried to reproduce the bug reported by the user in both

Version: 7.2.5.2 (x86) / LibreOffice Community
Build ID: 499f9727c189e6ef3471021d6132d4c694f357e5

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 5c138ac6a8334825ef171ac6291b66b277eb4288

Steps followed
1. Merged some cells in column A and similar cells in Column B as well.
2. Updated first few values in Column A
3. I dragged the auto fill in 2 ways. 
   3A. Dragged the auto fill from the last value in column A
   3B  Dragged the auto fill by selecting all the values in column A

My inference
By following the first approach (3A)the format of the selected cell was applied to all the cells values updated by auto fill. So some of the cells merged by user was un merged.

Using 3B when I selected all the cells that had similar formatting as the cells below, when I did Autofill the value got updated as expected and formatting or merge was not affected. 

Can the team confirm whether it is a valid bug?
Comment 3 Krithi 2022-01-31 22:06:13 UTC
Created attachment 177949 [details]
Auto fill from 1st value
Comment 4 Krithi 2022-01-31 22:06:44 UTC
Created attachment 177950 [details]
Auto fill from last value
Comment 5 Buovjaga 2022-12-07 12:57:15 UTC
Earlier the merged state of the cells was not taken into account at all. This changed with

https://git.libreoffice.org/core/commit/1ed04c2029218619aab2f3422130c890f67f309c
tdf#40993 tdf#59585 sc fill: copy merged cell structure

László: any thoughts on this? The reporter wants to preserve the "configuration" of merged target cells.
Comment 6 Armondo Lopez 2024-04-07 17:58:07 UTC
I'm unable to reproduce the same behavior in

Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

or

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a2265e8faa099d9652efd12392c2877c2df1d1eb
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded