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

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

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

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

            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: [hidden email]
          Reporter: [hidden email]
  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.

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

connect.diff
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.

rename.diff
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.

next.diff
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.

Cheers,
Simon Frei

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

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

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

--- Comment #1 from [hidden email] ---
Created attachment 102005
  --> https://bugs.kde.org/attachment.cgi?id=102005&action=edit
allchanges.diff

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

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

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=372027

--- Comment #2 from [hidden email] ---
Created attachment 102006
  --> https://bugs.kde.org/attachment.cgi?id=102006&action=edit
connect.diff

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

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

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=372027

--- Comment #3 from [hidden email] ---
Created attachment 102007
  --> https://bugs.kde.org/attachment.cgi?id=102007&action=edit
grouping.diff

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

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

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=372027

--- Comment #4 from [hidden email] ---
Created attachment 102008
  --> https://bugs.kde.org/attachment.cgi?id=102008&action=edit
next.diff

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

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

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=372027

--- Comment #5 from [hidden email] ---
Created attachment 102009
  --> https://bugs.kde.org/attachment.cgi?id=102009&action=edit
polish.diff

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

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

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=372027

--- Comment #6 from [hidden email] ---
Created attachment 102010
  --> https://bugs.kde.org/attachment.cgi?id=102010&action=edit
rename.diff

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

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

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=372027

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #7 from Maik Qualmann <[hidden email]> ---
Gilles,

I would commit the patch. I sometimes see an incorrect counter of items to
delete in the context menu in the Tables view. We can fix that later.

Maik

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

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

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=372027

--- Comment #8 from [hidden email] ---
No problem Maik, lets go...

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

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

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=372027

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |http://commits.kde.org/digi
                   |                            |kam/5f6aa8656cf333e8949b106
                   |                            |60407e8c8a0c0cc4f
   Version Fixed In|                            |5.4.0
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Maik Qualmann <[hidden email]> ---
Git commit 5f6aa8656cf333e8949b10660407e8c8a0c0cc4f by Maik Qualmann.
Committed on 08/11/2016 at 21:11.
Pushed by mqualmann into branch 'master'.

apply patch #102005 from Simon Frei to adjust grouping behavior
FIXED-IN: 5.4.0

M  +2    -1    NEWS
M  +1    -1    app/items/digikamimageview.cpp
M  +29   -18   app/items/imagecategorizedview.cpp
M  +6    -3    app/items/imagecategorizedview.h
M  +0    -27   app/items/imageviewutilities.cpp
M  +12   -3    app/views/digikamview.cpp
M  +96   -49   app/views/tableview/tableview.cpp
M  +10   -4    app/views/tableview/tableview.h
M  +0    -24   app/views/tableview/tableview_model.cpp
M  +0    -2    app/views/tableview/tableview_model.h
M  +13   -0    libs/database/item/imageinfolist.cpp
M  +2    -1    libs/database/item/imageinfolist.h
M  +1    -0    libs/models/imagefiltermodel.h
M  +0    -1    libs/tags/tagslineeditoverlay.cpp

http://commits.kde.org/digikam/5f6aa8656cf333e8949b10660407e8c8a0c0cc4f

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

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

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=372027

--- Comment #10 from Simon <[hidden email]> ---
There are two bug reports (that I found) which are fixed by or related to this
patch. As I don't know how the control mechanisms of bugs.kde.org work, I will
just list them here:
https://bugs.kde.org/show_bug.cgi?id=294579
https://bugs.kde.org/show_bug.cgi?id=307332

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

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

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=372027

--- Comment #11 from Maik Qualmann <[hidden email]> ---
(In reply to Simon from comment #10)
> There are two bug reports (that I found) which are fixed by or related to
> this patch. As I don't know how the control mechanisms of bugs.kde.org work,
> I will just list them here:
> https://bugs.kde.org/show_bug.cgi?id=294579

Thanks Simon, yes this bug we can close.

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

This bug not yet, he has another cause in addition.
https://bugs.kde.org/show_bug.cgi?id=368762

Maik

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