Bug 158613

Summary: Autofilter entries not consistent between first and subsequent opening (with background color in cells)
Product: LibreOffice Reporter: Aron Budea <aron.budea>
Component: ChartAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: hcastro, timur
Priority: medium Keywords: bibisected, bisected, implementationError
Version: 24.2.0.0 alpha1+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=158440
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 142076    

Description Aron Budea 2023-12-09 08:40:55 UTC
- Open attachment 187809 [details] from bug 143103,
- Open autofilter.

=> Note that the filter has 12 entries, starting with "(empty)" and ending with "z".

- Close and open autofilter again.

=> Filter now has 15 entries, starting with "(empty)" and ending with "zzzrz".
This is the correct result, the previous one is wrong.

This started with the following commit, previously autofilter stopped with the first empty cell, while now empty cells with background color are also included and maintain continuity of the filter (the additional entries are after empty cells with only background color set).
The issue is that the listed entries in the filter should be consistent.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=8b2369236dea7d6863c2df3d4ce5e356c9c8010c
author		Henry Castro <hcastro@collabora.com>	2023-11-23 11:49:15 -0400
committer	Henry Castro <hcastro@collabora.com>	2023-11-29 12:05:25 +0100

sc: fix back color filter entries