Bug 150637 - Cut&pasting cells *within* a conditional formatting range, breaks the range; undo fails to restore
Summary: Cut&pasting cells *within* a conditional formatting range, breaks the range; ...
Status: RESOLVED DUPLICATE of bug 129813
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.2.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-28 00:23 UTC by Dan Dascalescu
Modified: 2023-01-31 14:04 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screencast (6.49 MB, video/webm)
2022-08-28 00:23 UTC, Dan Dascalescu
Details
Test case (13.79 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-08-28 00:23 UTC, Dan Dascalescu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Dascalescu 2022-08-28 00:23:07 UTC
Created attachment 182049 [details]
Screencast

I have a sheet with medical data spanning thousands of records (days). Each column is a conditional formatting range (percentile color scale).

Say B3:B9 is a such a CF range. Cutting B8 and pasting it over B6 will break the range into B3:B5, B6, B7, B9. Also, formatting will be lost on B6.

The narrated screencast illustrates this.

I understand this might have been WAI per #57486, in order to not risk losing formatting, but,

* in practice formatting is actually lost

* undo is broken

* it would be a *really* useful and semantically correct to keep the original range intact, as the user intention was. This would also nicely result in not losing formatting.

In practice, with hundreds of rows and numerous edits, the CF ranges constantly become a broken mess, and I have to fix them to the original START:END points every other day.
Comment 1 Dan Dascalescu 2022-08-28 00:23:37 UTC
Created attachment 182050 [details]
Test case
Comment 2 m_a_riosv 2022-08-28 12:03:02 UTC
CF it's part of the cell format, so when you cut the cell, you cut the content and the cell format including CF.

Instead, you can copy first and the use delete-key to delete cell content.
Comment 3 Buovjaga 2023-01-31 14:04:23 UTC
Talking about undo, the current behaviour started with the same bibisect result I got for bug 129813 just now. The earlier behaviour was not correct either, though.

*** This bug has been marked as a duplicate of bug 129813 ***