Bug 170481 - Corrupted Standard Filter
Summary: Corrupted Standard Filter
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
25.8.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Data-Filter
  Show dependency treegraph
 
Reported: 2026-01-26 12:29 UTC by Andreas Säger
Modified: 2026-01-28 19:57 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Spreadsheet with corrupted filter (16.58 KB, application/vnd.oasis.opendocument.spreadsheet)
2026-01-26 12:29 UTC, Andreas Säger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Säger 2026-01-26 12:29:25 UTC
Created attachment 205175 [details]
Spreadsheet with corrupted filter

Open the attachment, select some cell within the list on the first sheet and call the standard filter dialog.

The filter dialog shows 
Name = 67

It has been stored with:
Name = <not empty>

Reproduce:
1. Apply Name = <not empty> which selects a list of distinct names on the second sheet because the filter was set with options to copy without duplicates.
2. Save and reload the file.
3. The filter is reset to Name = 67
Comment 1 Andreas Säger 2026-01-26 12:50:53 UTC
Yes, I did reset my user profile.
Comment 2 Andreas Säger 2026-01-26 13:03:56 UTC
And yes, it's a regression, I suppose.
Comment 3 Regina Henschel 2026-01-26 21:15:30 UTC
(In reply to Andreas Säger from comment #2)
> And yes, it's a regression, I suppose.

Not really a regression. But it is nevertheless a bug.
In version 3.5.4 the value field is empty. From version 4.0.1 up to now the value field shows a 0. And the daily build has a 67.

The file markup has table:operator="!empty". That is correct. But in the same element the table:data-type="number" and table:value="0" or "67", respectively.

Perhaps LibreOffice should implement that the attributes table:data-type and table:value are ignored in case table:operator="!empty" or table:operator="empty".

AOO 4.0 shows "- not empty -" in the dialog, but I don't know why.