Bug 331878 - GROUP : the «grouped images icon» disapears when working on the main (front) image
Summary: GROUP : the «grouped images icon» disapears when working on the main (front) ...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-ItemGroup (show other bugs)
Version: 7.4.0
Platform: Appimage Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-08 15:02 UTC by philippe.quaglia
Modified: 2023-10-13 08:29 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.2.0


Attachments
Screen capture (763.34 KB, image/png)
2020-08-06 16:04 UTC, philippe.quaglia
Details
Screen Capture for Comment 14 (349.11 KB, image/png)
2022-06-01 23:21 UTC, Gianluca
Details

Note You need to log in before you can comment on or make changes to this bug.
Description philippe.quaglia 2014-03-08 15:02:27 UTC
I'm making panoramas, and I then use the «group images» fonction to group the resulting panorama with the images used for creating the pano. The smal icon on the gui shows that there are more pictures, and allows to group/ungroup them.
However, If I edit the panorama (using the crop function for exemple), and save it, I then lost the «grouped images» icon. I do not know anymore how many images there is, and worse, I'm no more able to ungroup them.

Reproducible: Always

Steps to Reproduce:
1. Group images
2. Edit the «front image» and save it
3. 
Actual Results:  
No more «grouped images» icon

Expected Results:  
Still  «grouped images» icon
Comment 1 caulier.gilles 2016-07-07 04:34:50 UTC
This file still valid with last digiKam 5.0.0 ?

Gilles Caulier
Comment 2 philippe.quaglia 2016-07-14 18:21:59 UTC
Yes, I get the same problem with digikam 5.0.0, installed from Philips PPA
Comment 3 caulier.gilles 2016-11-25 20:07:15 UTC
What's about this file using digiKam AppImage bundle 5.4.0 pre release given at
this url :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier
Comment 4 philippe.quaglia 2016-12-02 15:52:32 UTC
Hello Gilles, I just did the test with the 5.4.0 in the appimage (great tool !), but I get exactly the same result. Bug is still here.
Comment 5 Maik Qualmann 2016-12-08 17:39:51 UTC
You use versioning? I think yes. Actually normal behavior. Enable the option "Always show original images" in the settings for versioning.

Maik
Comment 6 caulier.gilles 2020-08-03 04:59:12 UTC
digiKam 7.0.0 stable release is now published:

https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/

We need a fresh feedback on this file using this version.

Best Regards

Gilles Caulier
Comment 7 philippe.quaglia 2020-08-03 16:33:54 UTC
I still get the same problem with version 7.0 (appimage). To answer to previous comment, I do not save as new version, i make the modification, and save directly. Therefore, i'm expecting to still get the grouped image icon, and being able to access the grouped images. Now i do not have the icon, and i do not know how to display the grouped images...
Comment 8 philippe.quaglia 2020-08-03 16:37:44 UTC
Trying to find back my grouped images, i did the following:
in the display menu, i selected «show all grouped item as open», it makes my grouped images appear. But if i unselect this choice, the images disappear, but I still have no more indication that they are group behind my panorama, and I do not have any means to make them appear, excepted through this menu.
Its an annoying bug...
Comment 9 Maik Qualmann 2020-08-03 18:48:32 UTC
I cannot reproduce the problem if I edit and save the leading image, the group is retained.

To make the images visible again, you can use the item repair function in the right mouse button menu in the album tree view.

Maik
Comment 10 philippe.quaglia 2020-08-06 16:04:41 UTC
Created attachment 130683 [details]
Screen capture
Comment 11 philippe.quaglia 2020-08-06 16:08:30 UTC
Hello Maik, thanks for your answer and test.
I have used the «repair hidden items» tool (did not knew it before...) but it did not make any change.
See the attached screen capture. The selected pano does not display the «grouped images» icon. Also, in the lower left corner, it is clearly writen that there are 4 hidden items. This is after using the «repair hidden items» tool ! Really strange.

I'm really sorry, but I will be offline for at least 2 month, starting in a couple of hours, so I will not be able to follow on on this bug. Many thanks for your amazing work.
Comment 12 caulier.gilles 2022-01-09 04:43:49 UTC
Hi Philippe and happy new year,

Can you reproduce the problem with digiKam 7.5.0 pre-release AppImage bundle
for Linux available here :

https://files.kde.org/digikam/

Best regards

GilleS Caulier
Comment 13 philippe.quaglia 2022-01-10 18:28:46 UTC
Hello Gilles, happy new year to you and all the digikam contributors too.
I did the test with the latest build (https://files.kde.org/digikam/digiKam-7.5.0-20220110T154441-x86-64.appimage) but i still have the same problem.
Strange.
The behaviour described in my comment 8 is exactly the same, as the other comments.

Best regards.
Comment 14 Gianluca 2022-06-01 23:11:59 UTC
I hereby add some information on this bug as I have verified it too.
The steps I did:
 - group two photos by filename (I group the JPG and the RAW file using the JPG as front photo)
 - open the front photo
 - edit it with Digikam's internal editor
 - Save changes (without creating a new version)

What happens is:
 - a new "versioned" JPG file is created in the backing folder
 - this file is displayed in Digikam
 - this file is ungrouped
 - the original two files (JPG and RAW) are lost in Digikam (but still exist in the backing folder)
 - the number of hidden items in Digikam's album increases by two (the two files originally in the group, I assume)

Nice thing is, if inside Digikam you open the file in GIMP, modify the file in GIMP and then overwrite the original file, then everything is fine and you get:
 - two files in the backing folder
 - two grouped files in Digikam

Cheers,
Gianluca
Comment 15 Gianluca 2022-06-01 23:21:22 UTC
Created attachment 149385 [details]
Screen Capture for Comment 14

Screen Capture for Comment 14.
You can see that the two files P5300273.JPG and P5300273.ORF are missing from Digikam while the "versioned" file P5300273_v1.JPG, which Digikam created after internally editing the original P5300273.JPG, is displayed, altough ungrouped.
The same happens for three more files/images in the folder, thus resulting in 6 hidden images in the bar below.

After clicking "Repair hidden items", nothing changed.

Additionally, moving all the files in a new folder does not change anything either.
Comment 16 Maik Qualmann 2022-06-02 04:29:09 UTC
But that would be expected behavior. You have created a derivative version of an original image and have enabled the option to hide the original image in the version settings. The original images (group) then disappear. Two options, you choose "as new version" when saving in the editor or you deactivate the hiding of original images in the version settings. Otherwise we would have to make an exception for groups when hiding them through versioning, but that could cause problems for other users who use versioning intensively.

Maik
Comment 17 Gianluca 2022-06-02 07:30:19 UTC
(In reply to Maik Qualmann from comment #16)
> But that would be expected behavior. You have created a derivative version
> of an original image and have enabled the option to hide the original image
> in the version settings. The original images (group) then disappear. Two
> options, you choose "as new version" when saving in the editor or you
> deactivate the hiding of original images in the version settings. Otherwise
> we would have to make an exception for groups when hiding them through
> versioning, but that could cause problems for other users who use versioning
> intensively.
> 
> Maik

Mm... following your comment, I researched more in the options.
I activated Settings -> Configure Digikam -> Image Editor -> Versioning -> Always show original images and I got the original groups back.

Thanks a lot for the support.

I hope our conversation helps the OP too as his "problem" seems to be quite similar to mine, just with groups not filename-based, but manually-created ones.
Comment 18 Jan van Bekkum 2022-10-28 14:13:53 UTC
Where can I find "repair hidden items"? I have an album with items that remain hidden even if I choose "Show Grouped Images" in the context menu. I can only make them visible with "View | Show All Grouped Items As Open".
Comment 19 Maik Qualmann 2022-10-28 15:54:25 UTC
The option to repair hidden items is located in the context menu of the right mouse button for the album in question in the album tree.

Maik
Comment 20 Gianluca 2022-10-28 16:58:58 UTC
Are we sure this is still to be considered a bug?
As far as I have understood (and tested, actually):
 - You start with a set of grouped image 
 - You edit one of them
 - Saving the edited image, if it is the first time you edit it, creates a new version anyway
 - When a new version is created, by default, the original group disappears (just like, in case of single image the original image disappears)
 - You can anyway restore the visibility of the original image(s) by disabling the option to hide the original images

IMO, it's not a bug.
Or am I getting it wrong?
Comment 21 Jan van Bekkum 2022-10-28 19:31:29 UTC
(In reply to Maik Qualmann from comment #19)
> The option to repair hidden items is located in the context menu of the
> right mouse button for the album in question in the album tree.
> 
> Maik

Thanks!

Rergards,

Jan
Comment 22 caulier.gilles 2023-04-21 05:41:38 UTC
Maik,

In comment #20, the Q is: this entry can be considerate as a bug or as a feature". I think personalty that it's not a bug...

Best

Gilles
Comment 23 Gianluca 2023-10-13 08:23:51 UTC
I would close this bug.
As I pointed out in [comment #20], the original photos can be viewed by disabling the option to hide previous versions.