[Libreoffice-bugs] [Bug 107779] Sorting breaks rows data alignement when functions include columns with no data

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Aug 25 20:59:16 UTC 2020


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

Robert Lacroix <ralacroix at hydro.mb.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #16 from Robert Lacroix <ralacroix at hydro.mb.ca> ---
(In reply to Xavier Guillot from comment #15)

> I confirm the bug : some cells, if they are on a border of a table and the
> column has no value, even if they are selected to be sorted and have a
> background color, stay at the same place and are not moved with the next
> ones, which creates a visual break and adds work to rearrange the
> presentation.
> 
> [...]
> 
> If the column with empty cells is on the right of the table / selection,
> they are not sorted (columns E-F-G in my test).
> 
> [...]
> 
> Cells should not considered as empty if a background color has been set ; if
> one cell is not seen as empty, the whole column must not be seen as empty,
> too, and be sorted. Or more logical, if the cells are selected for sorting,
> they should be sorted, empty or not...

I confirm that LO-Calc 5.2.7.2 has the OP's mentioned behaviour.

I also use colour-coded cells for missing data, but I avoid extending tables on
the right into empty columns for keyboarding ergonomics. I tried this anyway in
Excel today (version 1808 - Microsoft Office 365 ProPlus) and I grudgingly
acknowledge that Excel sorts empty columns with background colour on the right
side of a table when they are included in the sort range. Excel even offers a
sort option to sort by background colour.

So the behaviour desired by the OP is that of Excel. For the sake of
compatibility, I am setting this to NEW.

The change will affect only users who create sort ranges with empty cells on
the right side. The rest of us won't even notice the difference.

-- 
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/20200825/c31063df/attachment.htm>


More information about the Libreoffice-bugs mailing list