Bug 123634 - Calc does not adjust columns correctly when they are frozen
Summary: Calc does not adjust columns correctly when they are frozen
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Cell-Freeze
  Show dependency treegraph
 
Reported: 2019-02-21 17:08 UTC by huntantr@gmail.com
Modified: 2023-07-28 15:15 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
demo freeze column (8.13 KB, application/vnd.oasis.opendocument.spreadsheet)
2019-02-23 10:26 UTC, Oliver Brinzing
Details

Note You need to log in before you can comment on or make changes to this bug.
Description huntantr@gmail.com 2019-02-21 17:08:41 UTC
Description:
When inserting a new column within a frozen area, an originally frozen column is pushed out of the range and is no longer frozen.

Steps to Reproduce:
1. Create a new spreadsheet in Calc. 
2. Add text to at least 5 or 6 columns in row 1.
3. Right click on column D and freeze the columns (This has frozen columns: A, B, C.)
4. Now right click on column C and select "Insert columns before"


Actual Results:
This will push the columns over, and columns A,B,C are still frozen but the old column C that is now D, is outside of the frozen area. 

Expected Results:
The expectation is that the frozen column would be moved over so that A,B,C,D would be frozen.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Comment 1 Oliver Brinzing 2019-02-23 10:26:32 UTC
Created attachment 149543 [details]
demo freeze column
Comment 2 Oliver Brinzing 2019-02-23 10:29:14 UTC
(In reply to huntantr@gmail.com from comment #0)
> Expected Results:
> The expectation is that the frozen column would be moved over so that
> A,B,C,D would be frozen.

the current behaviour is inherited from OpenOffice.
why do you expect this behaviour is not correct?
Comment 3 huntantr@gmail.com 2019-02-25 18:23:22 UTC
I believe this to be incorrect behaviour for this reason. 

If I have a financial spreadsheet with data in the locked columns, and outside of that there are calculations, if there is a need to add additional columns within the locked area, it then pushes the last column over and breaks all of the formulas plus how the data is to be viewed.
If I make a change with in a locked area, that is where the change should be made and the locked area should be adjusted to maintain proper document formatting.

Also, this is the behaviour in MS Excel, so users trying to switch won't because of this problem.
Comment 4 Oliver Brinzing 2019-02-25 18:29:44 UTC
(In reply to huntantr@gmail.com from comment #3)
> I believe this to be incorrect behaviour for this reason. 
> Also, this is the behaviour in MS Excel, so users trying to switch won't
> because of this problem.

That is true, excel 2016 moves the frozen area.
Setting issue to „new“.
Comment 5 QA Administrators 2021-02-25 04:08:49 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2023-02-26 03:21:16 UTC Comment hidden (obsolete)
Comment 7 BogdanB 2023-07-28 15:15:55 UTC
Aslo in
Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 7daf830830609cbb13a01ae55634187718c84d8a
CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded