[Digikam-devel] [Bug 141753] New: Ability to exclude tags in tag filter

Thomas McGuire Thomas.McGuire at gmx.net
Thu Feb 15 18:35:06 GMT 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=141753         
           Summary: Ability to exclude tags in tag filter
           Product: digikam
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: wishlist
          Priority: NOR
         Component: Tags
        AssignedTo: digikam-devel kde org
        ReportedBy: Thomas.McGuire gmx net


Version:           SVN (using KDE KDE 3.5.6)
Installed from:    Compiled From Sources
OS:                Linux

The tag filter should be able to exclude certain tags.
Right now, a tag in the tag filter is either checked or unchecked.
Checked means "Show all pictures which have this tag" (mode 1)
Unchecked means "Don't care about this tag (it does not matter if a picture has this tag or not)" (mode 2)
I would like a third category, meaning "Do NOT show (exclude) pictures which have this tag" (mode 3)

This would make the checkbox tri-state. By default it is unchecked (mode 2), clicking it once should change it to mode 1, clicking it again should change it mode 3.
The icon for mode 1 should be a green checkmark.
The icon for mode 3 should be a red cross (X)

The context menu should get one more entry: "Exclude"
This entry should behave like the "Select" (mode 1) and "Deselect" (mode 2) entries, but of course for mode 3.

"Invert Selection" should change mode 2 checkboxes to mode 1 checkboxes and the other way round, but leave mode 3 checkboxes untouched.

The "Matching Condition" (and/or) should not care about mode 3 checkboxes. What I mean here is that first, the tag filter should completely ignore the mode 3 tags and build a list of visible pictures like it does with the current version. Only in this step, the matching condition should be relevant. In the next step, it should remove all pictures from that list which have a tag whose checkbox is mode 3. Then, only the remaining pictures should be shown.

If you think tri-state checkboxes are confusing, then maybe mode 3 could only be activated by the context menu entry ("Exclude"), and not by clicking the checkbox. Clicking the checkbox could then only cycle between mode 1 and 2. If a checkbox has mode 3, clicking it will set it to mode 2. Clicking it again then only toggles between mode 2 and mode 1.


Usecases:

There are several cases where this functionallity is useful for me, for example:

1. 
I have tagged all my videos with a "Video" tag. Sometimes, I only want to see my pictures in the thumbmail view, and not the ugly video icon. In this case, I could use the tag filter to exclude the "Video" tag.
I also have pictures which I did not take myself, they are taken by persons doing the same journey as me. Sometimes, I only want to see the pictures I have taken myself. With this wish implemented, I could just exclude the "NotMe" tag.

2. Tag Hierarchies
Let's say I have the following tag hierarchy:
Animals
|- Birds
For example, I have a picture of a lion which is tagged "Animal". Then I have a picture of a bird which is tagged "Animal" and "Bird". Now, let's say I want to see only animals which are not birds. With the current tag filter, this is not possible. If I only check the "Animal" tag in the tag filter, the picture of the bird would still be shown, because it is also tagged with the "Animal" tag.
With my proposal, I could simply exclude all children of "Animal" (therefore excluding "Birds"), and see only the picture of the lion.

See also bug #112799 for a discussion about this.
I hope I explained it clearly.



More information about the Digikam-devel mailing list