Bug 460648 - Using Refresh button (F5) to update caption of thumbnails in multi-users environment.
Summary: Using Refresh button (F5) to update caption of thumbnails in multi-users envi...
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Multiusers (show other bugs)
Version: 8.1.0
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
: 477157 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-10-18 11:14 UTC by Peter
Modified: 2023-11-17 20:27 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2022-10-18 11:14:23 UTC
Environment: 2 user and mysql database
Two users are using digiKam. User1 constantly changes the captions of the images. User2 checks the changes on a remote computer. User2 use F5 button the to update the contents of the album. I attached a small video. Can be seen in the video after press F5 button: The caption created by User1 was given to the images, but the subtitle does not appear during the thumbnails.
Ok.
Click an another Album, then original album again.
Now: the captions is visible during all images except for the earlier selected image.

https://mega.nz/folder/NVgRWSxB#gv52lfA1gs1deqrp8bV00A
Comment 1 Maik Qualmann 2022-10-18 11:43:34 UTC
Well, that's not what the F5 function was designed for either. It searches for new images and creates new thumbnails. There is no function to re-read data from the database. digiKam is currently not multi-user capable (not at the same time). We do not know whether the data in the DB has been changed by another program. We have bug reports (wishes) for this. digiKam only monitors within its own instance whether it changes the DB and updates the caches for the items.

Maik
Comment 2 Maik Qualmann 2022-10-18 11:55:59 UTC
See this story Bug 146865.

Maik
Comment 3 Maik Qualmann 2022-10-18 12:00:08 UTC
You have already found the only way to update, change the album briefly.

Maik
Comment 4 Peter 2022-10-18 12:09:07 UTC
(In reply to Maik Qualmann from comment #1)
> Well, that's not what the F5 function was designed for either. It searches
> for new images and creates new thumbnails. There is no function to re-read
> data from the database. digiKam is currently not multi-user capable (not at
> the same time). We do not know whether the data in the DB has been changed
> by another program. We have bug reports (wishes) for this. digiKam only
> monitors within its own instance whether it changes the DB and updates the
> caches for the items.
> 
> Maik

Thanks for answer Maik.
I knew about the multi-user environment issue... ...User2 does not modify, only reads the database. After F5 pressed digikam will make the necessary modifications on the data of images, only the captions don't appear under the thumbnails, but captions panel contains the necessary information. So the function works, only the data under the thumbnails is not displayed (respectively not in all cases).
Comment 5 Peter 2022-10-18 12:23:12 UTC
Just a small note:
Settings -- Collections "Monitor the albums for external changes" function is deliberately not activated for me, because there is no need for constant monitoring. For me the F5 is a appropriate function (even if it wasn't designed for that).
Comment 6 caulier.gilles 2023-05-13 19:04:46 UTC
peter,

With 8.0.0, this file still valid, aka comment is now updated in icon-view tool-tips ?

Gilles Caulier
Comment 7 Peter 2023-05-14 06:55:28 UTC
Gilles,
Tested on 8.1 version; appimage
In fact, it got worse. Exiting the album no longer updates any of the captions below the thumbnails (so far this has worked).
Comment 8 Maik Qualmann 2023-11-17 20:27:12 UTC
*** Bug 477157 has been marked as a duplicate of this bug. ***