[Digikam-devel] [Bug 115157] digikam usability: Image comments/tags dialog: hard to find/see all already selected tags (and to 'de'select them)
Gilles Caulier
caulier.gilles at kdemail.net
Mon Jan 8 19:51:32 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=115157
------- Additional Comments From caulier.gilles kdemail net 2007-01-08 20:51 -------
SVN commit 621422 by cgilles:
digikam from trunk : Tags Filter View : do not handle 'Not Tagget' filter when Select/Deselect All Tags option is used
CCBUGS: 115157
M +16 -10 tagfilterview.cpp
--- trunk/extragear/graphics/digikam/digikam/tagfilterview.cpp #621421:621422
@ -683,26 +683,38 @
}
case 14: // Select All Tags.
{
+ d->toggleAutoTags = TagFilterView::NoToggleAuto;
QListViewItemIterator it(this, QListViewItemIterator::NotChecked);
while (it.current())
{
TagFilterViewItem* item = (TagFilterViewItem*)it.current();
- item->setOn(true);
+
+ // Ignore "Not Tagged" tag filter.
+ if (!item->m_untagged)
+ item->setOn(true);
+
++it;
}
triggerChange();
+ d->toggleAutoTags = oldAutoTags;
break;
}
case 15: // Deselect All Tags.
{
+ d->toggleAutoTags = TagFilterView::NoToggleAuto;
QListViewItemIterator it(this, QListViewItemIterator::Checked);
while (it.current())
{
TagFilterViewItem* item = (TagFilterViewItem*)it.current();
- item->setOn(false);
+
+ // Ignore "Not Tagged" tag filter.
+ if (!item->m_untagged)
+ item->setOn(false);
+
++it;
}
triggerChange();
+ d->toggleAutoTags = oldAutoTags;
break;
}
case 16: // Invert All Tags Selection.
@ -713,14 +725,8 @
{
TagFilterViewItem* item = (TagFilterViewItem*)it.current();
- // Toggle all root tags filter.
- TAlbum *tag = item->m_tag;
- if (tag)
- if (tag->parent()->isRoot())
- item->setOn(!item->isOn());
-
- // Toggle "Not Tagged" item tag filter.
- if (item->m_untagged)
+ // Ignore "Not Tagged" tag filter.
+ if (!item->m_untagged)
item->setOn(!item->isOn());
++it;
More information about the Digikam-devel
mailing list