Bug 115122 - In specific XLS file in drop-down autofilter's list there aren't any items (workaround: turn off-on autofilter)
Summary: In specific XLS file in drop-down autofilter's list there aren't any items (w...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:xls
Depends on:
Blocks: XLS-Autofilter
  Show dependency treegraph
 
Reported: 2018-01-20 11:12 UTC by Roman Kuznetsov
Modified: 2023-06-22 23:56 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
example file XLS (308.50 KB, application/vnd.ms-excel)
2018-01-20 11:13 UTC, Roman Kuznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Kuznetsov 2018-01-20 11:12:51 UTC
Description:
in XLS file from attach in drop-down autofilter's list there aren't any items.
in MS Excel this file works correctly, in drop-down list there are items.
if in MS Excel save this file as XLSX, then in LO in drop-down list there are items -> OK.
i tried it in LO 6.0.0.2, 5.4.3, 4.4.7

Steps to Reproduce:
1. Open XLS file from attach
2. On tab 4analytics.ru there are autofilter's drop-down lists
3. Open any drop-down list
4. there aren't any items in list

Actual Results:  
autofilter's drop-down lists are empty and doesn't work

Expected Results:
in autofilter's drop-down lists there are items and it works correctly


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:58.0) Gecko/20100101 Firefox/58.0
Comment 1 Roman Kuznetsov 2018-01-20 11:13:34 UTC
Created attachment 139234 [details]
example file XLS
Comment 2 m_a_riosv 2018-01-20 13:48:13 UTC Comment hidden (obsolete)
Comment 3 Chavdar 2018-01-20 19:46:51 UTC Comment hidden (obsolete)
Comment 4 Roman Kuznetsov 2019-02-03 19:26:49 UTC Comment hidden (obsolete)
Comment 5 Roman Kuznetsov 2020-01-10 13:21:42 UTC
still repro in

Version: 6.5.0.0.alpha0+ (x64)
Build ID: b6295e4a1b7735c148174f44f6d28221f4f52302
CPU threads: 4; OS: Windows 10.0 Build 18362; UI render: default; VCL: win; 
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: threaded
Comment 6 Roman Kuznetsov 2021-06-21 12:39:20 UTC
Still repro in

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: de7356c2e0cb099fac396808b5a86a0393b48e5f
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: threaded
Comment 7 QA Administrators 2023-06-22 03:14:38 UTC Comment hidden (obsolete)
Comment 8 Roman Kuznetsov 2023-06-22 15:45:23 UTC
So strange... now there are items in Autofilter's list, but they are all grey and you can't select/deselect it. I'm not sure what should I do now with this report

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 63627c174778f7d435a540c43ec0498c76e739ab
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL threaded

I'll try to bisect that change may be...
Comment 9 ady 2023-06-22 23:40:45 UTC
(In reply to Roman Kuznetsov from comment #8)
> now there are items in Autofilter's list, but they are all
> grey and you can't select/deselect it.

Using Calc, I can eliminate the original autofilter, rebuild it, save as (with different name), close and load the new file > the autofilter seems to work correctly (tested with LO 7.5.3.2 and with a recent Dev version).

While this is not the perfect solution for _opening_ (older) files that might have some autofilter problem in LO (e.g. read-only files, or for inexperienced users), maybe current versions of Calc are WFM regarding _saving_ as xls with (new) autofilter ON.

It remains to be seen whether xls files created/saved (by some other program such as Excel) with autofilter set ON can be opened correctly without having to rebuild the autofilter in Calc.
Comment 10 ady 2023-06-22 23:56:12 UTC
(In reply to ady from comment #9)

> Using Calc, I can eliminate the original autofilter, rebuild it, save as
> (with different name), close and load the new file > the autofilter seems to
> work correctly (tested with LO 7.5.3.2 and with a recent Dev version).

I had the intention to quote the current title subject of this report, but I didn't, so here it is: that is the "(workaround: turn off-on autofilter)" mentioned.

Additionally, the title subject of this report currently says "In specific XLS file...". Let me add that other programs (other than Excel) can open attachment 139234 [details] (the original xls file from comment 1) and show/use the autofilter correctly, without having to rebuild it.