[Libreoffice-bugs] [Bug 126678] Sorting in LO Calc Messes Background Colors of Rows

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Apr 19 15:23:25 UTC 2020


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

Buovjaga <ilmari.lauhakangas at libreoffice.org> changed:

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

--- Comment #6 from Buovjaga <ilmari.lauhakangas at libreoffice.org> ---
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200419/d53e3830/attachment.htm>


More information about the Libreoffice-bugs mailing list