Bug 94140 - UI dropdowns do not show selections (or very slow) after large filter applied
Summary: UI dropdowns do not show selections (or very slow) after large filter applied
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.2.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-11 17:41 UTC by cporterbee
Modified: 2017-01-10 21:02 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
.csv file used to show the blank drop downs (2.81 MB, text/csv)
2015-09-13 00:41 UTC, cporterbee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cporterbee 2015-09-11 17:41:23 UTC
With a large row count (8000+) .csv file opened normally and 6 columns worth of data the default DATA AUTOFILTER is applied.  One column has the bulk of the entries the same (>95%).  Deselecting this entry from the filter drop-down for that column successfully filters the rows.  However, all the drop-downs for all the formatting/control selections (File, View, buttons for borders etc) are then blank.  The slider bar at the bottom starts misbehaving.  Trying to close the file or program results in a blank box where it would normally state discard or save the edits.  Doing a right click on the icon at the bottom and selecting close also results in the blank box.  After multiple times of trying to close via various processes something does finally happen and the screen comes back.  Also, the drop-down for the filtered column DOES still display the list and re-selecting the item re-displays all the rows and all the other drop downs start functioning again.
Comment 1 Cor Nouws 2015-09-11 20:04:48 UTC
Hi cporterbee,

Thanks for your report and sorry to read about the trouble.

Can you attach a file that we can test?

Can you try how it works with a fresh userprofile?
  https://wiki.documentfoundation.org/UserProfile

Regards, Cor
Comment 2 cporterbee 2015-09-13 00:41:49 UTC
Created attachment 118659 [details]
.csv file used to show the blank drop downs
Comment 3 cporterbee 2015-09-13 00:43:12 UTC
Hi Cor;

Using a fresh userprofile did not help.  I have attached the .csv file used to assist with the problem.  Let me know if more information is required.

Thanks
Comment 4 Cor Nouws 2015-09-13 06:58:47 UTC
Thanks for your file, cporterbee.

So I start a spreadsheet, do file open, select filter Text (CSV) and your document.
Then set the delimiters fine so that a 6 column sheet is opened.
The I apply Data > Filter > Autofilter.

Now..

(In reply to cporterbee from comment #0)
> One column has the bulk of the entries the same (>95%).

Which column? 
(When I exclude thumbs.db from C, I start seeing problems. E.g. filter on column D is slow...
But that after quite some random filtering on other columns)

>  Deselecting this entry from the filter
> drop-down for that column successfully filters the rows.

> However, all the drop-downs for all the formatting/control selections 
> (File, View, buttons for borders etc) are then blank.
> [...]
> something does finally happen and the screen comes back.  Also, the
> drop-down for the filtered column DOES still display the list and
> re-selecting the item re-displays all the rows and all the other drop downs
> start functioning again.

So there is a big lag in performance..

Let's further test this.
By the way, I'm on Ubuntu 32 bits.
Comment 5 Cor Nouws 2015-09-14 09:15:14 UTC
Tried in various versions.

_rough_ numbers below

         Open |  C: Filter thumbs.db  |  D: open filter  |  D: filter deskt.ini

4.0.6   Impossible                    |   -              |    -
4.1.5   90 sec   |    impossible      |   -              |    -
4.2.7    6 sec   |        7 sec       |   8              |    15
4.4.5    5 sec   |       10 sec       |   8              |    20
5.0.1    5 sec   |        8 sec       |   8              |    15


So there is progress, but still some work to do.
Especially on Windows maybe?

Anyway, I really appreciate to have a reproducible case on Linux here!
Comment 6 Cor Nouws 2015-09-14 09:16:37 UTC
set version to earliest I tried.
Comment 7 cporterbee 2015-09-14 13:10:07 UTC
Hi Cor;

Try filtering out column E for the "Exclude" items.  This really puts the system through the test.  Based on your information I did some more testing and here is what I found:

Windows 10, i7 processor, Libra Calc build 5.0.1.2, states it is "up to date"

Column D, thumgs.db, everything works immediately.
Column E, Exclude, it takes 10 seconds

Debian 8.2 (x86-64), Cinamon 2.2.16, Linux Kernel version 3.16.0-4-amd64, AMD Athlon(tm) 64 processor 3700+ x 1, memory 2.7G, Libra Calc 4.3.3.2, Build ID 430m0(Build:2)

Column D, thumbs.db, everything works immediately.
Column E, Exclude, everything works immediately.

So from my limited testing ability here, Windows 10 would "appear" to be the issue?  Though why yours showed the delays on Linux I don't know?

Thanks
Comment 8 cporterbee 2015-09-14 13:13:00 UTC
Hi Cor;

A little more information.  My Windows 10 machine has 8GB or RAM and is running the 64 bit OS.

Thanks
Comment 9 cporterbee 2015-09-17 14:49:53 UTC
Some additional info.  I have a VISTA 32bit machine running the same 5.0.1.2 Libre Office.

Intel(R) Core(TM)2 Duo CPU    T7100 @ 1.8GHZ, 2GB RAM, 32bit OS, all up to date with service pack 2 etc.

This takes 105 seconds for the drop downs to be fixed.
Comment 10 QA Administrators 2017-01-03 19:35:03 UTC Comment hidden (obsolete)
Comment 11 Cor Nouws 2017-01-06 15:51:00 UTC
(In reply to Cor Nouws from comment #5)
> Tried in various versions.
> 
> _rough_ numbers below
> 
>   Open |  C: Filter thumbs.db  |  D: open filter  |  D: filter deskt.ini
> 
> 
> 4.0.6   Impossible                    |   -              |    -
> 4.1.5   90 sec   |    impossible      |   -              |    -
> 4.2.7    6 sec   |        7 sec       |   8              |    15
> 4.4.5    5 sec   |       10 sec       |   8              |    20
> 5.0.1    5 sec   |        8 sec       |   8              |    15


5.4 master   instant |    instant       |    instant       |    instant
Comment 12 cporterbee 2017-01-10 21:02:47 UTC
Resolved in 5.2.4.2.  Was resolved in some earlier releases as well.