Bug 164314 - Removing all filter in Calc works ("Filter zurücksetzen") - but the visualization is not reset correctly
Summary: Removing all filter in Calc works ("Filter zurücksetzen") - but the visualiza...
Status: RESOLVED DUPLICATE of bug 117346
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoFilter
  Show dependency treegraph
 
Reported: 2024-12-13 09:26 UTC by misko
Modified: 2024-12-17 06:26 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
1) new filter set 'Feb 23' (43.79 KB, image/png)
2024-12-15 08:54 UTC, misko
Details
2) reset filters via toolbar (53.30 KB, image/png)
2024-12-15 08:55 UTC, misko
Details
3) filter(s) stil seem to be active (color row headers and filter icon in column header) (75.92 KB, image/png)
2024-12-15 08:56 UTC, misko
Details
4) last filter shows 'I am active' (146.19 KB, image/png)
2024-12-15 08:56 UTC, misko
Details
sample (11.37 KB, application/vnd.oasis.opendocument.spreadsheet)
2024-12-16 08:24 UTC, misko
Details
video testing the bug (9.78 MB, video/webm)
2024-12-17 05:57 UTC, BogdanB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description misko 2024-12-13 09:26:27 UTC
Description:
removing: I reset one or more filters in Calc via the (extended) toolbar

visualization
1. the line headers remain colored as if a filter were active
2. the filter symbols (column headers) indicate active filters
3. clicking on such a filter symbol shows the last filter applied

expected (variants)
a) the table display no longer shows any active filters after resetting the filters
b) the most recently used filters are still displayed as “available”
c) in case b) the row headers should not be colored / indicate an active (or available) filter

Considerations
1. in case b), however, the filter icons should not look like activated filters
2. in case b), ideally two options should be directly available: 
- Set last filter/s again
- Set other/new filter
3. in case b), I would expect the last filters to be reactivated with the “Apply filter” function (“Apply filter”)
4. does not apply, which is why I assume that it must be an incorrect display


Version: 24.8.3.2 (X86_64) / LibreOffice Community
Build ID: 48a6bac9e7e268aeb4c3483fcf825c94556d9f92
CPU threads: 12; OS: macOS 14.7.1; UI render: Skia/Metal; VCL: osx
Locale: de-CH (de.UTF-8); UI: de-DE
Calc: threaded

Steps to Reproduce:
1.I set 1 or more filters via the filter symbols of the column headers
2.I remove the filters via the toolbar (icon name in German: “Reset filter”) 

Actual Results:
see above under "Description"

Expected Results:
see above under "Description"


Reproducible: Always


User Profile Reset: No

Additional Info:
see above under "Description"

Answer to the question below "Did you try resetting your UserProfile?":
no, because I have hardly used / customized the profile yet

Please ask this question at the beginning of the form. If the bug can be fixed in this way, all the effort of the description would have been in vain.

Please offer some help in the form for quick and correct selection of the hardware used - and/or add the entry “don't know”.

If this bug report is useful and more are desired, a short hint by e-mail would be fine.
With thanks for the commitment
Comment 1 m_a_riosv 2024-12-13 22:11:06 UTC
Please attach a sample file  showing the issue, reduce the size as much as possible, and without private information.
Comment 2 misko 2024-12-15 08:54:55 UTC
Created attachment 198113 [details]
1) new filter set 'Feb 23'
Comment 3 misko 2024-12-15 08:55:43 UTC
Created attachment 198114 [details]
2) reset filters via toolbar
Comment 4 misko 2024-12-15 08:56:20 UTC
Created attachment 198115 [details]
3) filter(s) stil seem to be active (color row headers and filter icon in column header)
Comment 5 misko 2024-12-15 08:56:44 UTC
Created attachment 198116 [details]
4) last filter shows 'I am active'
Comment 6 m_a_riosv 2024-12-15 22:32:21 UTC
Have you verified not to have more than one filter with part of the fields in common.

BTW, no sample file attached.
Comment 7 misko 2024-12-16 08:23:29 UTC
ah, ok … here is an example with the same behavior (there are not multiple filter areas in the original either)
Comment 8 misko 2024-12-16 08:24:52 UTC
Created attachment 198130 [details]
sample
Comment 9 m_a_riosv 2024-12-16 22:42:40 UTC
I get the error
"The range does not contain column headers"
What I think is the cause, then the filter is moved to start on the second line.
Hidden the auto-filter for second time, then it is cleared fine.

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: da56d1bd13e0396ca04b58d9e09bc9ad6315a869
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded

Not exactly the same, but it also happens with OOo.
Comment 10 BogdanB 2024-12-17 05:50:15 UTC
There are 3 icons: AutoFilter, Reset Autofilter and HideAutofilter. Also this optins can be found in Data - Autofilter, Data - More Filters - Reset Autofilter and Data - More Filters - Hide Autofilter.

I get the message with "The range does not contain column headers" when I create a filter, and no column is found as header. Here the bug is reported as canceling an already filtered column. Data - More Filter - Reset AutoFilter is working well. Please be sure you use the correct icon. You can add all the icon neeeded in the toolbar from Tools - Customize.
Comment 11 BogdanB 2024-12-17 05:57:40 UTC
Video reproducing the bug

The status of the arrows are not updating, and also the values that were reseted are there in the filter. 

Version: 24.8.3.2 (X86_64) / LibreOffice Community
Build ID: 48a6bac9e7e268aeb4c3483fcf825c94556d9f92
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 12 BogdanB 2024-12-17 05:57:53 UTC
Created attachment 198151 [details]
video testing the bug
Comment 13 BogdanB 2024-12-17 06:20:18 UTC

*** This bug has been marked as a duplicate of bug 117346 ***