Summary: | Ability to exclude tags in tag filter [patch] | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Thomas McGuire <mcguire> |
Component: | Albums-Filters | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | bko, caulier.gilles |
Priority: | NOR | ||
Version: | 1.4.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 1.6.0 | |
Sentry Crash Report: | |||
Attachments: | Patch to allow the exclusion of tags in the tag filter sidebar |
Description
Thomas McGuire
2007-02-15 19:35:04 UTC
I would also like this functionality. I know it can be done with advanced search, but it would be quicker if the tag filter could exclude some tags. I use it to see if I have forgotten to give some pictures some tag. If I do a search for all fotos not having this tag, I can easily see wich pictures still need to get the tag. also uns gefällt der schaft. rebi wüdrde ihn aber dunkel nehmen... Ruth Alkema schrieb: [bugs.kde.org quoted mail] Was im Gottes Willen soll denn das heißen? (Just commenting to post above :-)) Please ignore comment #2... That was a terrible mistake. ;-) Can someone tell me how to delete a comment? It reads like porn-spam! :D Hmm don't know how to delete comments, maybe it is just not possible? At least for the digiKam product I should have all rights, but I can not see how to do it. I cannot see how to delete a comment too... As i cannot read German words, i'm not in trouble (:=))) Gilles Created attachment 49320 [details]
Patch to allow the exclusion of tags in the tag filter sidebar
I have implemented the following things:
-The pop-up menu has sub menu to set a tag to be ignored, included or excluded
-Tag icon has a green "+" over it when included in search result and a red "-" when excluded
-Middle click on a tag cycles trough exclude/include/ignore
-Excluded tags are always matched with "and", regardless of the selected matching condition -> if an image has any of the excluded tags it will not be shown
Johannes, Did you manage this patch ? Gilles Caulier I don't know If i got enough time in the next 6 weeks to do this. Hi, can someone please include this patch into SVN? Since it didn't make it into 1.4.0 and 1.5.0 I would love to see this feature in 1.6.0. Bastiaan I'll take a look at the patch today... I just applied it and it seems to be ok so far. Andi SVN commit 1196406 by aclemens: Add the ability to exclude tags in the tagfilter view. Thanks to Bastiaan Hovestreydt for this patch. BUG: 141753 M +3 -1 NEWS M +40 -7 digikam/albumselectcombobox.cpp M +2 -1 digikam/albumselectcombobox.h M +71 -3 digikam/albumtreeview.cpp M +1 -2 digikam/albumtreeview.h M +3 -1 digikam/digikammodelcollection.cpp M +2 -1 digikam/digikammodelcollection.h M +3 -2 digikam/digikamview.cpp M +2 -0 digikam/digikamview.h M +18 -4 digikam/tagcheckview.cpp M +5 -4 digikam/tagcheckview.h M +67 -20 digikam/tagfiltersidebarwidget.cpp M +6 -4 digikam/tagfiltersidebarwidget.h M +37 -4 libs/models/abstractalbummodel.cpp M +7 -2 libs/models/abstractalbummodel.h M +4 -3 libs/models/imagefiltermodel.cpp M +3 -2 libs/models/imagefiltermodel.h M +67 -11 libs/models/imagefiltersettings.cpp M +5 -3 libs/models/imagefiltersettings.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1196406 Git commit 434fc7e9410bc4866a31d78661699fc8745af45b by Marcel Wiesweg. Committed on 17/04/2011 at 16:45. Pushed by mwiesweg into branch 'master'. Fix a regression introduced by the ability-to-exclude-tags patch, and make some stuff work (again): - use a special "add exclude" mode only enabled in models that need it. Fixes regression 267421 (partial check state treated as fully checked) - albumDecorationRole is overridden by derived classes, so there is no sense in doing the overlay painting in this method in the parent class. Provide a tool method which is called from the children, now the + or - is visible. CCBUG: 141753 BUG: 267421 M +2 -1 NEWS M +1 -2 digikam/models/digikammodelcollection.cpp M +42 -23 libs/models/abstractalbummodel.cpp M +16 -1 libs/models/abstractalbummodel.h M +6 -2 libs/models/albummodel.cpp http://commits.kde.org/digikam/434fc7e9410bc4866a31d78661699fc8745af45b |