Bug 406440 - "Operation in all group items" even when only one item is selected.
Summary: "Operation in all group items" even when only one item is selected.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-MetadataEdit (show other bugs)
Version: 6.1.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-11 17:56 UTC by MarcP
Modified: 2019-04-11 20:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.1.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MarcP 2019-04-11 17:56:31 UTC
SUMMARY
Even when only one picture is selected, when doing some operation (e.g. Edit metadata or Adjust time and date), Digikam asks if "Do you want to do this operation in all group items?". 

I guess it's a bug, since previously that warning only appeared if more than one item was selected. By the way, either saying Yes or No, the result seems to be the same (the dialog opens). 

In any case, it's not a big deal, but since it didn't happen before, I thought of reporting it.

STEPS TO REPRODUCE
1. Select a picture in digikam
2. In the tools panel. Doubleclick on "Edit Metadata".
3. Notice how the dialog window opens, despite only one item being selected.


EXPECTED RESULT
Nothing, just open the desired tool.

SOFTWARE/OS VERSIONS
digikam-6.1.0-git-20190404T203330-qtwebkit-x86-64.appimage
Ubuntu 18.04 with Gnome.
Comment 1 Maik Qualmann 2019-04-11 20:17:10 UTC
Git commit a532e050813371257f9b97099fa878a99002b8d5 by Maik Qualmann.
Committed on 11/04/2019 at 20:15.
Pushed by mqualmann into branch 'master'.

fix get grouping info only from selected items
FIXED-IN: 6.1.0

M  +2    -1    NEWS
M  +3    -3    core/app/items/utils/groupingviewimplementation.cpp
M  +1    -1    core/libs/database/utils/ifaces/dbinfoiface.cpp

https://commits.kde.org/digikam/a532e050813371257f9b97099fa878a99002b8d5