[digikam] [Bug 374071] New: Tags checkbox tristate incorrect when deselecting tagged images (off-by-one)

Jens bugzilla_noreply at kde.org
Fri Dec 23 09:33:55 GMT 2016


https://bugs.kde.org/show_bug.cgi?id=374071

            Bug ID: 374071
           Summary: Tags checkbox tristate incorrect when deselecting
                    tagged images (off-by-one)
           Product: digikam
           Version: 5.4.0
          Platform: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Tags
          Assignee: digikam-devel at kde.org
          Reporter: jens-bugs.kde.org at spamfreemail.de
  Target Milestone: ---

This happens since 5.4.0 (maybe 5.3.0?).

1. Open an album where there are *some* images with tags and some without.
2. Select all images (Ctl-A)
3. Open Tag Editor (right panel). The matching tags checkboxes will be grey
(tristate).
4. Manually deselect all images matching the half-checked tag (Ctrl+Mouse)

Result: The tag is still in tristate (grey box).

Expected result: The tag should be unchecked since I deselected all tagged
images.

5. Deselect one more image which does not have the tag.

Result: The tag is unchecked. 
Expected Result: This should have happened after step 4 already.

6. Reselect the non-tagged image.

Result: The tag is still unchecked.

There seems to be an off-by-one error somewhere in a counter which decides
whether to "half-check" the tag list. Can you find it?

Thank you!

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Digikam-devel mailing list