https://bugs.documentfoundation.org/show_bug.cgi?id=154044

            Bug ID: 154044
           Summary: Undoing the first applied cell formatting only works
                    for column A
           Product: LibreOffice
           Version: 7.4.5.1 release
          Hardware: x86-64 (AMD64)
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, bisected, regression
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
            Blocks: 105948, 108252

Steps:
1. Open Calc
2. Select several columns and rows
3. Apply some formatting, like yellow background or all borders
4. Undo

Result:
Undoing the first formatting action only works for column A, formatting remains
for other columns.
All further formatting actions undo as expected.

Reproduced from:

Version: 7.4.5.1 / LibreOffice Community
Build ID: 9c0871452b3918c1019dde9bfac75448afc4b57f
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

To:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 288c0920a8475f9f2c537212e04aa7649192ad8c
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Also on Windows 10, with 7.5.1.2.

Bibisected with linux-64-7.4 repo to first bad commit
d14c498f036bf5f6f99503115eeec2a72bd1ba83 which points to core commit:

commit  9e2d48b9e04f7ea895fb095699c32ed8a44eb129
author  Luboš Luňák <[email protected]>     Wed Mar 30 11:58:04 2022 +0200
committer       Luboš Luňák <[email protected]>     Thu Apr 28 05:51:53
2022 +0200
tree    e7762a098c6dc066d9dc73888bd3c992cbb13490
parent  ee57936475064b409565490022f414220656e12c
reduce Calc's INITIALCOLCOUNT to 1
Columns should be dynamically allocated on demand, so there should
be theoretically no good reason to allocate 64 initially. In practice
doing so hides all places that do not allocate columns as needed.
Change-Id: I8b46ecc97852ed23369e720f50f3266c48440435
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133311

Luboš, any chance you could have a look?


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=105948
[Bug 105948] [META] Undo/Redo bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=108252
[Bug 108252] [META] Cell-related bugs and enhancements (including formatting)
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to