[digikam] [Bug 372027] New: Adjust grouping behavior [patch]

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Thu Nov 3 15:56:35 GMT 2016


            Bug ID: 372027
           Summary: Adjust grouping behavior [patch]
           Product: digikam
           Version: 5.2.0
          Platform: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: AlbumsView-Group
          Assignee: digikam-devel at kde.org
          Reporter: caulier.gilles at gmail.com
  Target Milestone: ---

Currently when a grouped image is selected all operations (tagging,
renaming, ...) are only applied to the head of the group. This is not
consistent with the options to display items: In iconview, there is
grouped and ungrouped, in tableview ungrouped, grouped and tree. So I
have control over whether I want to display images individually or as
groups. However this control does not extend to actions.

The attached patches change the behaviour:
When images are grouped or not expanded in treeview, actions apply to
the selected images and the grouped images. In Ungrouped view or when
images are expanded in treeview, actions apply only to the selected images.

In the process I uncovered some more or less related issues, that is why
I have split the patch up. Every single one is functional.
"allchanges.diff" is, as it name suggests, the combination of all the
other patches.

This is the main change that alters the behaviour as described above.

Currently there is no tracking of whether items are expanded or not in
treeview. This results in erratic behaviour, e.g. tagging applies to
different images depending on cursor moves before. This connects the
treeview expanded and collapsed signals to the signal, that signifies
that anything has changed.

Currently the interactive rename function is executed in the iconview
context in any case. Now it is executed in the currently active view for
correct selection.

Little correction where a change was always applied to iconview, now it
is correctly applied to whichever view is currently active.

All the changes are also available on https://github.com/imsodin/digiKam
if that is more convenient. This is related to bug 294578.

Simon Frei

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

More information about the Digikam-devel mailing list