Bug 140462 - FILEOPEN ODS Autofilter on a date column makes autofilters on other columns empty
Summary: FILEOPEN ODS Autofilter on a date column makes autofilters on other columns e...
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Balázs Varga
URL:
Whiteboard: target:7.2.0
Keywords: filter:ods
Depends on:
Blocks: AutoFilter
  Show dependency treegraph
 
Reported: 2021-02-17 07:57 UTC by NISZ LibreOffice Team
Modified: 2021-04-08 14:55 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Calc with autofiltered date column (11.92 KB, application/vnd.oasis.opendocument.spreadsheet)
2021-02-17 07:57 UTC, NISZ LibreOffice Team
Details
Screenshot of the problem in Calc (32.69 KB, image/png)
2021-02-17 07:57 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2021-02-17 07:57:36 UTC
Created attachment 169802 [details]
Example file from Calc with autofiltered date column

This is a followup to bug #116818 – this time the problem happens in ODS format too.
If there is an autofiltered date column in a sheet, autofilters on other column types, like text and number are empty.

Steps to reproduce:
    1. Open attached file.
       
Actual results:
Autofilters on columns B and C are empty.

Expected results:
Autofilters on columns B and C display possible values.

LibreOffice details:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 28555fc345ac2ccdda0e4e0f3c812c646befe68b
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-GB
Calc: CL
Comment 1 NISZ LibreOffice Team 2021-02-17 07:57:59 UTC
Created attachment 169803 [details]
Screenshot of the problem in Calc
Comment 2 Roman Kuznetsov 2021-02-17 08:24:26 UTC
Confirm for first opening but if you select all dates in A column Autofilter and then select only December 2012, then you'll see correct values in B and C Autofilter windows.

But after save/reopen - bug is still here =(

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 6ab1feb2604d2620435a2aecbafff1d8c21255e9
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: threaded
Comment 3 Commit Notification 2021-03-01 15:39:35 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/f37f159f2e0c7abe45ac7a3eec447f1234ad1662

tdf#140462 sc ODF import: fix empty autofilter columns

It will be available in 7.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 NISZ LibreOffice Team 2021-04-08 14:55:22 UTC
Verified in: 

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ea4fb1559f7b99a0bfaf18f26cb3b6972c9cde1c
CPU threads: 4; OS: Windows 10.0 Build 17134; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: threaded