[Digikam-devel] [Bug 115157] digikam usability: Image comments/tags dialog: hard to find/see all already selected tags (and to 'de'select them)

Arnd Baecker arnd.baecker at web.de
Thu Jan 11 11:28:02 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 arnd.baecker web de  2007-01-11 12:28 -------
Gilles, I started to have a quick look at what you suggest in #50
(I really should not ;-).

I cooked it down to the example
  - Hallo
    - U2
      - Aa
      x TestAdd      # this one is tagged

Here "Aa" should not be displayed.
I splattered loads of 
  DWarning() << k_funcinfo << "       parent:" << parent->title() << endl;
into ImageDescEditTab::slotAssignedTagsToggled.
and checked at the end that the visibility of "Aa" is false.
Still it gets displayed!?
Very weird ...

Just wait: when you do the ``pitem->setVisible(true);``
for all parents to make them visible, does this also set
the visibility to true of the children? That could explain
why part of the tree becomes visible, while children further down
in the tree are hidden again (because they are processed separately again?
Checking the visibility at the end shows, that it got changed for the "Aa"
element!

However, what I do not understand is, why this problem does not appear, 
when "U2" is tagged as well. Maybe it has to do with the order
in which the iteration of the tree is done, which could also explain
why you were not able to reproduce the problem?

Best, Arnd



More information about the Digikam-devel mailing list