Bug 57486 - FORMATTING When moving cells inside conditional formatting range, CF rules breaks apart
Summary: FORMATTING When moving cells inside conditional formatting range, CF rules br...
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.6.0.0.alpha1
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-24 15:41 UTC by Mirosław Zalewski
Modified: 2014-10-04 13:01 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Test document - one CF range splits apart after moving data (15.32 KB, application/vnd.oasis.opendocument.spreadsheet)
2012-11-24 15:41 UTC, Mirosław Zalewski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mirosław Zalewski 2012-11-24 15:41:14 UTC
Created attachment 70523 [details]
Test document - one CF range splits apart after moving data

Hi

In attached document, there is conditional formatting applied to cells A1:B17.
Steps to reproduce:
1. Select cells A9:B17
2. Cut them (Ctrl+X)
3. Place cursor in cell A8
4. Paste (Ctrl+V)
5. Go to Format → Conditional formatting → Manage...

You will see that there are two conditional formatting ranges: A1:B7 and A8:B16. Since conditional formatting rules are the same in both cases, this could (and should) be just A1:B16.

If user now decide to modify CF rule, he must modify it in two places instead of just one.

Of course this is simplified case of this bug. On larger datasets a moment of moving data back and forth can create dozens ranges of the same CF rules.

This problem exists since introduction of modified CF dialogs in 3.6.0 and I can still reproduce it in 3.6.4-rc1.
Comment 1 Markus Mohrhard 2012-11-24 16:49:06 UTC
This will not be fixed.


Copying conditional formats will create new conditional formats to prevent increasing the range in case they are not overlapping.
This is important for conditional formats that are not only based on the current cell value but calculate based on the cond format range.