Bug 108365 - Filter error when mixing data type
Summary: Filter error when mixing data type
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.2.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-06 14:47 UTC by Jean-Sebastien Bevilacqua
Modified: 2021-05-07 09:44 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Example file (8.86 KB, application/vnd.oasis.opendocument.spreadsheet)
2021-05-07 09:44 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Sebastien Bevilacqua 2017-06-06 14:47:57 UTC
In calc, when you enable autofilter, filter can fail in some circumstances.

Steps to reproduce:

Create a column with theses three values:

2012-01-02
2012
2012-02-22

try to filter out 2012 (not the date, the number) -> number stills displayed
Also, when trying to filter only for 2012-January the number 2012 is included as well.
Comment 1 Jean-Sebastien Bevilacqua 2017-06-06 14:49:10 UTC
The code to improve is near sc/source/ui/cctrl/checklistmenu.cxx:ScCheckListMenuWindow::getResult
Comment 2 QA Administrators 2018-06-07 02:46:20 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2020-06-07 03:48:28 UTC Comment hidden (obsolete)
Comment 4 NISZ LibreOffice Team 2021-05-07 09:44:25 UTC
Created attachment 171736 [details]
Example file

I can no longer reproduce this since 5.4:

Version: 5.4.5.0.0+
Build ID: 534fd9aacd3eea10070a3ee88fc654eb9791aa24
CPU threads: 4; OS: Windows 6.19; UI render: GL; 
Locale: hu-HU (hu_HU); Calc: group

It was bad with this file last time in 5.3:

Version: 5.3.1.0.0+
Build ID: aa09fd58bd499a2a2c3a32c5f613892bad54076c
CPU Threads: 4; OS Version: Windows 6.19; UI Render: GL; Layout Engine: new; 
Locale: hu-HU (hu_HU); Calc: CL