Bug 95887 - FORMATTING: Absolute cell references ($Sheet1.$A$1 style) in conditional formats are changed when a sheet is moved
Summary: FORMATTING: Absolute cell references ($Sheet1.$A$1 style) in conditional form...
Status: RESOLVED DUPLICATE of bug 88042
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.0.3.2 release
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-17 20:57 UTC by Eugene Mah
Modified: 2015-11-17 22:06 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example of conditional formatting being changed (14.40 KB, application/vnd.oasis.opendocument.spreadsheet)
2015-11-17 20:57 UTC, Eugene Mah
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Mah 2015-11-17 20:57:34 UTC
Created attachment 120608 [details]
Example of conditional formatting being changed

When dragging a spreadsheet tab to a different position, conditional formatting that contains $Sheet1.$A$1 style absolute references gets changed, messing up the formatting.

Consider the example spreadsheet attached (CondFormatTest.ods). The cells with conditional formatting should all be green. The conditional formats in the example spreadsheet use different cell reference styles.

Drag Sheet1 to place it after Sheet2. The first and last cells change to red. Examining the conditional formatting rules shows that the rules for these two cells (that use the $Sheet1.$A$1 style) now refer to $Sheet2 instead of $Sheet1.

Next add a new sheet (Sheet3). Drag Sheet3 to become the first sheet. Now the conditional formatting rules for the first and last cells refer to $Sheet3.

It appears that $Sheet1.$A$1 style references are stuck referencing whatever spreadsheet tab is in the original position after the sheet is moved.

The behaviour seems kind of similar to bug 73655 only applied to conditional formatting
Comment 1 m_a_riosv 2015-11-17 22:06:14 UTC
Hi @Eugene, thanks for reporting.

Seems a duplicate, please if you are no agree reopen it.

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