Bug 169206 - FORMATTING - Calc - Conditional formatting should not auto-join ranges with similar formulas
Summary: FORMATTING - Calc - Conditional formatting should not auto-join ranges with s...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
25.8.2.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-02 02:45 UTC by Paul
Modified: 2025-11-21 12:02 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file (7.29 KB, application/vnd.oasis.opendocument.spreadsheet)
2025-11-20 17:48 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul 2025-11-02 02:45:38 UTC
Panel "Manage Conditional Formatting"
Now Calc decided to automatically join ranges with the same formulas.
Please don't do that, because if I'll later decide to alter the formula of only one of them, I'll have to manually split them. It's just cumbersome for no real advantage.


Simplified example:

A1:A100 Cell=0
B2:C300 Cell=0
E6:E200 Cell=0
Z9:Z900 Cell=0

becomes

A1:A100;B2:C300;E6:E200;Z9:Z900 Cell=0
Comment 1 jcline 2025-11-15 02:45:31 UTC
Hello Paul,

Thank you for reporting the bug.
Unfortunately without clear steps to reproduce it, we cannot track down the origin of the problem.
Please provide a clearer set of step-by-step instructions on how to reproduce the problem.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the steps are provided
Comment 2 Buovjaga 2025-11-20 17:48:50 UTC
Created attachment 204148 [details]
Example file

Paul: please see the spreadsheet I created. I don't see any problem. We indeed need clear steps.

Arch Linux 64-bit
Version: 25.8.3.2 (X86_64) / LibreOffice Community
Build ID: 580(Build:2)
CPU threads: 8; OS: Linux 6.17; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
25.8.3-1
Calc: CL threaded
Comment 3 Buovjaga 2025-11-20 19:08:57 UTC
I wonder, if bug 87274 is relevant?
Comment 4 Paul 2025-11-20 20:18:16 UTC
(In reply to Buovjaga from comment #2)
> Created attachment 204148 [details]
> Example file
> 
> Paul: please see the spreadsheet I created. I don't see any problem. We
> indeed need clear steps.
> 
> Arch Linux 64-bit
> Version: 25.8.3.2 (X86_64) / LibreOffice Community
> Build ID: 580(Build:2)
> CPU threads: 8; OS: Linux 6.17; UI render: default; VCL: kf6 (cairo+wayland)
> Locale: fi-FI (fi_FI.UTF-8); UI: en-US
> 25.8.3-1
> Calc: CL threaded

On your spreadsheet i see all the ranges joined together
A1:A100;B2:C300;E6:E200;Z9:Z900 for Cell value = 0

You see them separated instead?
Comment 5 Paul 2025-11-20 20:22:20 UTC
(In reply to Buovjaga from comment #3)
> I wonder, if bug 87274 is relevant?

So the joining solution feels like a workaround for the problem I reported also here:
https://bugs.documentfoundation.org/show_bug.cgi?id=169201

IMO they shouldn't be joined and they shouldn't change when people copy cells.
Existing CF should take the precedence. Maybe allow to copy CF only with special copy-paste option?
Comment 6 Buovjaga 2025-11-20 20:29:16 UTC
(In reply to Paul from comment #4)
> (In reply to Buovjaga from comment #2)
> > Created attachment 204148 [details]
> > Example file
> > 
> > Paul: please see the spreadsheet I created. I don't see any problem. We
> > indeed need clear steps.
> > 
> > Arch Linux 64-bit
> > Version: 25.8.3.2 (X86_64) / LibreOffice Community
> > Build ID: 580(Build:2)
> > CPU threads: 8; OS: Linux 6.17; UI render: default; VCL: kf6 (cairo+wayland)
> > Locale: fi-FI (fi_FI.UTF-8); UI: en-US
> > 25.8.3-1
> > Calc: CL threaded
> 
> On your spreadsheet i see all the ranges joined together
> A1:A100;B2:C300;E6:E200;Z9:Z900 for Cell value = 0
> 
> You see them separated instead?

Ah, sorry, they indeed become joined after saving and reloading. I think I'll ask developers about this tomorrow.
Comment 7 Paul 2025-11-20 23:14:00 UTC
(In reply to Buovjaga from comment #6)
> (In reply to Paul from comment #4)
> > (In reply to Buovjaga from comment #2)
> > > Created attachment 204148 [details]
> > > Example file
> > > 
> > > Paul: please see the spreadsheet I created. I don't see any problem. We
> > > indeed need clear steps.
> > > 
> > > Arch Linux 64-bit
> > > Version: 25.8.3.2 (X86_64) / LibreOffice Community
> > > Build ID: 580(Build:2)
> > > CPU threads: 8; OS: Linux 6.17; UI render: default; VCL: kf6 (cairo+wayland)
> > > Locale: fi-FI (fi_FI.UTF-8); UI: en-US
> > > 25.8.3-1
> > > Calc: CL threaded
> > 
> > On your spreadsheet i see all the ranges joined together
> > A1:A100;B2:C300;E6:E200;Z9:Z900 for Cell value = 0
> > 
> > You see them separated instead?
> 
> Ah, sorry, they indeed become joined after saving and reloading. I think
> I'll ask developers about this tomorrow.
Thank you. But please also check my second reply above