Bug 418380 - Use different checkbox for 'must not have this tag'
Summary: Use different checkbox for 'must not have this tag'
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-Filters (show other bugs)
Version: 6.4.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-01 23:45 UTC by Kamo
Modified: 2023-01-16 23:03 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Mock up for 'must not have this tag' checkbox. (13.58 KB, image/png)
2020-03-01 23:45 UTC, Kamo
Details
Example of minus sign within checkbox representing mixed state (9.16 KB, image/png)
2020-11-29 18:13 UTC, Mike Morrison
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kamo 2020-03-01 23:45:13 UTC
Created attachment 126536 [details]
Mock up for 'must not have this tag' checkbox.

SUMMARY
Currently when you want to exclude certain tags you can use 'must not have this tag' function to do so. While this is very useful, the checkbox looks the same when tags are selected normally, so you can't differentiate them. I would suggest something like a minus inside the checkbox. I've made a quick mockup of how it would look like and attached it.
Comment 1 Mike Morrison 2020-11-29 17:42:53 UTC
I like the minus sign for "Must not have". Additionally, the checkmark could be replaced by a plus sign for "Must have".

Perhaps color (green/red) could also be used to indicate the status of each tag.
Comment 2 Mike Morrison 2020-11-29 18:13:46 UTC
Created attachment 133733 [details]
Example of minus sign within checkbox representing mixed state
Comment 3 Mike Morrison 2020-11-29 18:17:05 UTC
Alternatively, a checkmark "✓" and "X" mark could represent the two states, rather than plus and minus. Minus and/or plus signs within the boxes have the potential to look like expandable hierarchy disclosure widgets, which often also look like + and - within squares: https://docs.microsoft.com/en-us/windows/win32/uxguide/ctrl-progressive-disclosure-controls#plus-and-minus-controls

A minus sign within a checkbox is also sometimes used to represent an indeterminate or mixed state, as when some but not all of an object's child objects have an option set. Example of this use from Gmail (when managing labels on multiple selected messages) is attached.

Here is an example of a three-state checkbox using both color and ✓/X marks to indicate filter inclusion and exclusion, very much like the use case for tag filters in digiKam. A runnable CodePen example is included: https://medium.com/@carsonf92/introducing-the-three-state-checkbox-1b6f00b6ec89