Bug 391435

Summary: Show a loading indicator when loading a picture in Preview mode.
Product: [Applications] digikam Reporter: MarcP <iwannaberich>
Component: Preview-ImageAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles, iwannaberich
Priority: NOR Keywords: usability
Version First Reported In: 5.8.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 8.9.0
Sentry Crash Report:

Description MarcP 2018-03-05 13:40:24 UTC
Currently, when you double click a picture in the "Thumbnails" view in order to open it in the "preview" view, it can take a few seconds until it is displayed, with nothing seemingly happening during that time.

This is specially relevant for pictures which are several MB in size stored in a NAS.

A simple loading or progress indicator would suffice to provide some feedback that the picture is currently being loaded.
Comment 1 MarcP 2022-11-13 05:09:37 UTC
I know this is an old suggestion, but have you given any thought at this?

I am currently using digikam with a library that is behind a relatively slow network. Some pictures take 5-10 seconds to load, depending on the size. When I double click on a picture, I have no feedback that it is being loaded, until a few second later when the picture suddenly appears. Sometimes it feels non-responsible and it makes me double-click again, just in case. Maybe the progress bar could be used as an indicator that something is being done?
Comment 2 caulier.gilles 2022-11-13 08:32:16 UTC
On the status bar, Image Editor uses a widget on the left side to show file name or display a progress bar while loading/saving. The same widget can be used in preview mode.

Gilles Caulier
Comment 3 caulier.gilles 2025-12-23 10:20:14 UTC
Git commit 8247bdef9a4b720e19a034dfe503935a18f90648 by Gilles Caulier.
Committed on 23/12/2025 at 10:19.
Pushed by cgilles into branch 'master'.

Preview mode : use status progress bar in the main icon-view statusbar to show a progress info while preview loading is running.

M  +2    -2    core/app/main/digikamapp.cpp
M  +5    -1    core/app/main/digikamapp_p.h
M  +22   -2    core/app/main/digikamapp_setup.cpp
M  +0    -3    core/app/main/digikamapp_tools.cpp
M  +9    -0    core/app/views/preview/itempreviewview.cpp
M  +4    -0    core/app/views/preview/itempreviewview.h
M  +9    -0    core/app/views/stack/itemiconview.cpp
M  +4    -0    core/app/views/stack/itemiconview.h
M  +9    -1    core/libs/progressmanager/statusprogressbar.cpp
M  +2    -0    core/libs/progressmanager/statusprogressbar.h
M  +6    -4    core/libs/threadimageio/fileio/loadsavetask.cpp
M  +3    -1    core/libs/threadimageio/fileio/loadsavethread.cpp
M  +15   -0    core/libs/threadimageio/preview/previewtask.cpp
M  +4    -2    core/libs/threadimageio/preview/previewtask.h
M  +13   -0    core/libs/widgets/graphicsview/dimgpreviewitem.cpp
M  +8    -0    core/libs/widgets/graphicsview/dimgpreviewitem.h
M  +1    -2    core/utilities/imageeditor/editor/editorwindow.cpp
M  +2    -0    core/utilities/imageeditor/editor/editorwindow_p.h

https://invent.kde.org/graphics/digikam/-/commit/8247bdef9a4b720e19a034dfe503935a18f90648
Comment 4 caulier.gilles 2025-12-23 11:44:22 UTC
Git commit 0116b8eb22d42511f1368dc2aaa3c6e2b18ffcbf by Gilles Caulier.
Committed on 23/12/2025 at 11:43.
Pushed by cgilles into branch 'master'.

LightTable : add progress indicator for the Left and Right preview panels.
FIXED-IN: 8.9.0

M  +3    -2    NEWS
M  +7    -7    core/app/main/digikamapp_setup.cpp
M  +20   -0    core/utilities/lighttable/lighttableview.cpp
M  +8    -0    core/utilities/lighttable/lighttableview.h
M  +4    -4    core/utilities/lighttable/lighttablewindow.cpp
M  +2    -2    core/utilities/lighttable/lighttablewindow_p.h
M  +47   -3    core/utilities/lighttable/lighttablewindow_setup.cpp

https://invent.kde.org/graphics/digikam/-/commit/0116b8eb22d42511f1368dc2aaa3c6e2b18ffcbf