Bug 142965 - There is no way to select cells without color text or color filling in Autofilter
Summary: There is no way to select cells without color text or color filling in Autofi...
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.3.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Samuel Mehrbrodt (allotropia)
URL:
Whiteboard: target:7.3.0
Keywords: implementationError
Depends on:
Blocks: AutoFilter AutoFilter-Color
  Show dependency treegraph
 
Reported: 2021-06-21 12:32 UTC by Roman Kuznetsov
Modified: 2021-10-05 08:56 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file with Autofilter and color filling in cells (7.74 KB, application/vnd.oasis.opendocument.spreadsheet)
2021-06-21 12:33 UTC, Roman Kuznetsov
Details
How it looks in Excel (12.21 KB, image/png)
2021-06-21 14:46 UTC, Roman Kuznetsov
Details
XLSX Bugdoc (11.30 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2021-06-28 12:28 UTC, Samuel Mehrbrodt (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Kuznetsov 2021-06-21 12:32:16 UTC
Description:
There is no way to select cells without color text or color filling in Autofilter

Steps to Reproduce:
1. Open file from attach
2. open Autofilter window in A1 cell
3. Try select cells without color text or color filling => no way

MS Excel has an item with label "Without fill" as subitem in Filter by Color item in Autofilter

Actual Results:
There is no way to select cells without color text or color filling in Autofilter

Expected Results:
There is way to select cells without color text or color filling in Autofilter


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: de7356c2e0cb099fac396808b5a86a0393b48e5f
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: threaded
Comment 1 Roman Kuznetsov 2021-06-21 12:33:05 UTC
Created attachment 173053 [details]
Example file with Autofilter and color filling in cells
Comment 2 Roman Kuznetsov 2021-06-21 12:37:46 UTC
Samuel, Heiko, what do you think about it? I asked do it in bug 76258, but today I don't see we have this opportunity
Comment 3 Samuel Mehrbrodt (allotropia) 2021-06-21 13:56:20 UTC
Sounds like a good idea.
Can you share a screenshot of how this looks like in Excel? IIRC in Excel 2013 this feature was not yet there.
Comment 4 kabilo 2021-06-21 14:18:17 UTC
would it be possible to solve it this way? Thanks

Bug 142761 - optimization of the ergonomics and appearance of the automatic filter menu
Comment 5 m_a_riosv 2021-06-21 14:46:37 UTC
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 5fb7f66d240fec32a4751d331a215307ad994cbb
CPU threads: 4; OS: Windows 10.0 Build 21390; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: threaded

I can select '3' without any other step.
Comment 6 Roman Kuznetsov 2021-06-21 14:46:40 UTC
Created attachment 173056 [details]
How it looks in Excel
Comment 7 Roman Kuznetsov 2021-06-21 14:49:19 UTC
(In reply to m.a.riosv from comment #5)
> Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
> Build ID: 5fb7f66d240fec32a4751d331a215307ad994cbb
> CPU threads: 4; OS: Windows 10.0 Build 21390; UI render: Skia/Vulkan; VCL:
> win
> Locale: es-ES (es_ES); UI: en-US Calc: threaded
> 
> I can select '3' without any other step.

But I want to select 1, 3 and 5 that don't have any filling at an one time using filtering by color as I can do it in Excel now
Comment 8 m_a_riosv 2021-06-21 15:04:42 UTC
I think understood now.
Comment 9 Samuel Mehrbrodt (allotropia) 2021-06-28 12:28:24 UTC
Created attachment 173241 [details]
XLSX Bugdoc
Comment 10 Regina Henschel 2021-08-22 23:06:50 UTC
The attribute fo:background-color in file source can have the value "transparent" in addition to rgb- color values. Transparent is missing in the list of color values in the Autofilter.

LibreOffice writes attribute style:use-window-fontcolor="true" in case "Automatic" was chosen in the UI. Which means, that the font color is White if the background is too dark. The item "Automatic" is missing in the list of color values in the Autofilter. This situation is not yet included in the proposal for ODF.
Comment 11 Regina Henschel 2021-08-24 14:01:09 UTC
The proposal in https://issues.oasis-open.org/browse/OFFICE-4107 has in filter-condition in the comparison the value "window-font-color" for text color and "transparent" for background-color.
Comment 12 Commit Notification 2021-09-06 06:35:10 UTC
Samuel Mehrbrodt committed a patch related to this issue.
It has been pushed to "master":

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

tdf#142965 color filter: allow filtering by no fill/automatic color

It will be available in 7.3.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.