Bug 421853 - single button to refresh collection
Summary: single button to refresh collection
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Maintenance-Engine (show other bugs)
Version: 7.0.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-21 07:49 UTC by Ritesh Raj Sarraf
Modified: 2020-05-21 10:41 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ritesh Raj Sarraf 2020-05-21 07:49:13 UTC
SUMMARY

Digikam should have a single button to "Scan for New Items" in its collection. Right now, it has the "Refresh" button, which from the behavior looks like it just refreshes the thumbnails. This bug report is a feature request to add the "Scan for New Items" functionality, either into the "Refresh" button, or into its own separate single button.

STEPS TO REPRODUCE
1. Click on Refresh
2. Only ThumbNails refresh


OBSERVED RESULT
Only ThumbNails refresh

EXPECTED RESULT
Need a single button workflow to refresh the Digikam Collections

SOFTWARE/OS VERSIONS
KDE Frameworks 5.69.0
Qt 5.14.2 (built against 5.14.2)
The xcb windowing system

digikam version 7.0.0-beta3
CPU cores: 8
Eigen: 3.3.3
Exiv2: 0.27.2
Exiv2 can write to Jp2: Yes
Exiv2 can write to Jpeg: Yes
Exiv2 can write to Pgf: Yes
Exiv2 can write to Png: Yes
Exiv2 can write to Tiff: Yes
Exiv2 supports XMP metadata: Yes
HEIF encoding support: Yes
ImageMagick codecs: 6.9.10
KF5: 5.69.0
LensFun: 0.3.95-0
LibCImg: 130
LibJPEG: 80
LibJasper: 1.900.23
LibLCMS: 2080
LibLqr support: Yes
LibPGF: 7.19.03
LibPNG: 1.6.35
LibRaw: 0.20.0
LibTIFF: 4.0.10
Marble: 0.27.20
Parallelized demosaicing: Yes
Qt: 5.14.2
Qt WebEngine support: Yes
VKontakte support: No
AkonadiContact support: No
Baloo support: No
Calendar support: Yes
DBus support: No
Database backend: QSQLITE
HTML Gallery support: Yes
LibAVCodec: 57.89.100
LibAVFormat: 57.71.100
LibAVUtil: 55.58.100
LibGphoto2: 2.5.14
LibOpenCV: 3.4.10
LibQtAV: 1.13.0
Media player support: Yes
Panorama support: Yes
Comment 1 Ritesh Raj Sarraf 2020-05-21 07:50:29 UTC
Oh!! And currently, Digikam does have the "Maintenance" path to scan new items. But it is not a single button workflow and has many more options, which may not be intuitive enough for novice users.
Comment 2 Maik Qualmann 2020-05-21 08:07:58 UTC
The refresh button not only refreshes the thumbnails, but also searches for new items. You can put the refresh button on the toolbar. There is a key combination that only searches for new items: Ctrl + F5. There is also the option to automatically update the album when external changes detected (Collections-> album monitoring). I don't think we need another button.

Maik
Comment 3 Ritesh Raj Sarraf 2020-05-21 08:30:16 UTC
(In reply to Maik Qualmann from comment #2)
> The refresh button not only refreshes the thumbnails, but also searches for
> new items. You can put the refresh button on the toolbar. There is a key
> combination that only searches for new items: Ctrl + F5. There is also the
> option to automatically update the album when external changes detected
> (Collections-> album monitoring). I don't think we need another button.
> 
> Maik

It does not seem to be working proper then. I have some collections over the network (Samba Share), with monitoring enabled in Digikam.

But new items in the network share are not detected by Digikam with just the "Refresh" button. I need to restart Digikam to reflect those new files. And Digikam does so because it has the "Scan for New Items" on start-up option enabled.
Comment 4 Maik Qualmann 2020-05-21 08:55:24 UTC
Well, album monitoring only works with physical drives. The refresch via F5 only updates the currently selected physical album. If I understand you correctly, you want to update the entire collection like when you started digikam.

Maik
Comment 5 Maik Qualmann 2020-05-21 10:41:54 UTC
Git commit 9193efb0998e380f4fd891cbcf275321704099b7 by Maik Qualmann.
Committed on 21/05/2020 at 10:39.
Pushed by mqualmann into branch 'master'.

add menu entry to scan for new items
FIXED-IN: 7.0.0

M  +4    -3    NEWS
M  +1    -0    core/app/main/digikamapp.h
M  +2    -0    core/app/main/digikamapp_p.h
M  +6    -0    core/app/main/digikamapp_setup.cpp
M  +17   -0    core/app/main/digikamapp_tools.cpp
M  +2    -1    core/app/main/digikamui5.rc

https://invent.kde.org/graphics/digikam/commit/9193efb0998e380f4fd891cbcf275321704099b7