Bug 161982 - sorting data which includes references to other cells
Summary: sorting data which includes references to other cells
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
25.2.0.0 alpha0+
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-10 12:28 UTC by Elmar
Modified: 2024-07-10 19:06 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
sorting (59.56 KB, application/vnd.oasis.opendocument.spreadsheet)
2024-07-10 13:50 UTC, Elmar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elmar 2024-07-10 12:28:16 UTC
Description:
in a range of rows & columns, and sorting by a column, only the cells containing constants are sorted.


Steps to Reproduce:
1.table A contains data
2.lower down, reference the cells into a new table B
3.select table B
4.sort according to any column
5.add a column that has constants
6.sort again
7.change some cells in column to constants
8.sort 

Actual Results:
only the cells containing constants are sorted

Expected Results:
all cells in a row should be sorted
maintain the integrity of the row



Reproducible: Always


User Profile Reset: No

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: SpreadsheetDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6a54d08e6e52623f9769d17d7ea7390052cb275b
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

same behaviour observed in 
v6.4.7.2
v7.3.7.2
Comment 1 Elmar 2024-07-10 13:50:18 UTC
Created attachment 195207 [details]
sorting

when one tries to do something which is not possible, there should be a warning
Comment 2 ady 2024-07-10 19:06:46 UTC
What happens with your procedure if you first change the following setting?

  * Calc menu Tools > Options > Calc > General > (Input Settings) "Update references when sorting range of cells"

Then try the procedure from start.