https://bugs.documentfoundation.org/show_bug.cgi?id=126678

Buovjaga <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ilmari.lauhakangas@libreoff
                   |                            |ice.org

--- Comment #6 from Buovjaga <[email protected]> ---
Created attachment 159719
  --> https://bugs.documentfoundation.org/attachment.cgi?id=159719&action=edit
Minimal test case

Steps with this test case:

1. Select A1:E10
2. Data - Sort
3. In the Options tab, verify that "Include formats" is checked
4. Sort key Column B

Result: the empty cell with yellow background does not move with the sort.

Bibisected with Linux 50max repo to
https://git.libreoffice.org/core/+/c50d8bf596f527bb53b86dd04da652ed72f2c549%5E!/

"Fix high memory usage when sorting cells in Calc. (fdo#81501)

Empty columns were being unnecessarily included in the sorting
range which caused extra allocation. This happens when you select
the entire sheet to sort. There was already code to skip empty
trailing cells in rows but not to skip empty columns."

Looks like this small change did not take into account the option "Include
formats".

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to