[Libreoffice-bugs] [Bug 123640] Sort dialog takes forever to load when many columns are selected

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Sep 2 11:33:43 UTC 2019


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

--- Comment #4 from Marcel Waldvogel <Marcel.Waldvogel at uni-konstanz.de> ---
A new empty spreadsheet works perfectly well.

It could however be a Linux-only problem. Could you please try this on Linux?

I am still having the same problem with 6.3 on Ubuntu 19.04 x86_64. On a fairly
recent machine (Lenovo T460s), "New Spreadsheet", "Select All", "Data->Sort"
takes about a minute before the "Sort" dialog appears.

The waiting time is roughly quadratic to the number of columns selected:

Columns | Delay
--------+------
    200 |    3s
    400 |   10s
    600 |   20s
    800 |   40s
   1024 |   60s

("1024" is what "Select all" gives; the delays are only estimates)

Up to 200 columns, the delay is acceptable. But then the delays start becoming
annoyingly long. It seem that there is quadratic behavior in one of the data
structures involved in creating the "Sort Key 1/2/3" drop-down lists which
hurts performance when many columns are involved.

-- 
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/20190902/614b51f3/attachment.html>


More information about the Libreoffice-bugs mailing list