https://bugs.documentfoundation.org/show_bug.cgi?id=123640
Bug ID: 123640
Summary: Sort dialog takes forever to load when many columns
are selected
Product: LibreOffice
Version: 6.2.0.1 rc
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: libreoffice-bugs@lists.freedesktop.org
Reporter: marcel.waldvo...@uni-konstanz.de
Description:
When having selected many columns (e.g. by selecting entire rows or after
"Select All"), displaying the "Data→Sort…" dialog takes seemingly forever (>1
minute; operating systems asks whether to force quit LibreOffice).
Steps to Reproduce:
1. Open a new spreadsheet
2. Select several (or all) rows
3. Choose "Data→Sort…"
4. Wait
Actual Results:
LibreOffice is blocked for more than a minute, the operating system asks
whether to force quit the application (which I accepted twice, before becoming
patient enough). This can lead to user data loss.
Expected Results:
The process should be much faster (on the order of a second).
Reproducible: Always
User Profile Reset: No
Additional Info:
Despite not really knowing what LibreOffice does in that time, I still have
some suggestions on what could be done:
1. Speed up the loop inserting the column names into the dialog (maybe it is
even an O(n²) algorithm?)
2. Only insert columns which do have real data into the dialog
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs