Bug 419903 - Editor view very slow.
Summary: Editor view very slow.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: ImageEditor-Core (other bugs)
Version First Reported In: 8.2.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-10 06:22 UTC by Thomas Erlacher
Modified: 2025-12-18 15:58 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 8.9.0
Sentry Crash Report:


Attachments
procmon log (sysinternals) (113.01 KB, text/plain)
2023-06-07 22:50 UTC, gw
Details
attachment-2334795-0.html (1.08 KB, text/html)
2025-12-18 15:54 UTC, Thomas Erlacher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Erlacher 2020-04-10 06:22:48 UTC
Change Pictures and you will see, that you need time ...
Comment 1 Maik Qualmann 2020-04-10 06:43:01 UTC
Please describe in more detail what is slow. I definitely don't have a fast computer, but I can't reproduce that the image editor is slow. Most image editing tools have multi core support.

Maik
Comment 2 caulier.gilles 2020-04-10 06:46:00 UTC
Same here under Windows 10 running in a VM, image editor is very fast...

Gilles Caulier
Comment 3 Thomas Erlacher 2020-04-10 14:38:31 UTC
Sorry for less details. I don't know, that the feedback is so great.

On the left side of the editor, if you change the images, the program needs over 2 seconds to load the image (3 MB jpg). I see that the image was selected in the main programm too, but though i think the time is to long. 

I7/SSD 16GB Ram; Fotos on HDD  

Thanks for comments ...
Thomas
Comment 4 caulier.gilles 2020-04-10 14:44:34 UTC
Where is stored the database : in local or shared on the local network ?

There is a editor version outside digiKam without database support : showfoto. I's installed with digiKam. Can you reproduce the problem ?

Another helper is to install DebugView program from Microsoft and to list all digiKam debug trace while you switch from one item to another one.

Look here for details :

https://www.digikam.org/contribute/

Gilles Caulier
Comment 5 Thomas Erlacher 2020-04-10 14:48:55 UTC
Sorry for less details. I don't know, that the feedback is so great.

On the left side of the editor, if you change the images, the program needs
over 2 seconds to load the image (3 MB jpg). 

... and over 0,5 seconds to mark/select the image, when you click on a image of the left image selection in the editor. 

I see that the image was
selected in the main programm too, but though i think the time is to long. 

I7/SSD 16GB Ram; Fotos on HDD  
 
Thanks for comments ...
Thomas
Comment 6 Thomas Erlacher 2020-04-10 14:53:44 UTC
(In reply to caulier.gilles from comment #4)
> Where is stored the database : in local or shared on the local network ?
> 
> There is a editor version outside digiKam without database support :
> showfoto. I's installed with digiKam. Can you reproduce the problem ?
> 
> Another helper is to install DebugView program from Microsoft and to list
> all digiKam debug trace while you switch from one item to another one.
> 
> Look here for details :
> 
> https://www.digikam.org/contribute/
> 
> Gilles Caulier

The database is local, but with type MySQL-Server (experimentell). Perhaps the problem is there ...
Comment 7 Thomas Erlacher 2020-04-10 15:13:06 UTC
Thanks for your answere.
In showfoto the time is little bit shorter. 

In showfoto/image-selection left side, when you change the image with key down or up, it lags ca. 0,5 secs to select next image and ca. 0,5 secs to load the image. Fotos now on SSD.
Comment 8 caulier.gilles 2020-04-10 15:16:19 UTC
Another test also is to switch from Mysql to Sqlite database

Gilles Caulier
Comment 9 caulier.gilles 2020-08-01 08:01:49 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.

Thanks in advance

Gilles Caulier
Comment 10 caulier.gilles 2022-01-08 16:30:34 UTC
Hi Tomas,

Hi hans and happy new year,

Can you reproduce this problem with digiKam 7.5.0 pre-release available here :

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

Best regards

Gilles Caulier
Comment 11 caulier.gilles 2023-04-29 19:36:03 UTC
@Thomas

digiKam 8.0.0 is out. This entry still valid with this release ?

Best regards

Gilles Caulier
Comment 12 gw 2023-06-07 21:49:20 UTC
(In reply to caulier.gilles from comment #11)
> @Thomas
> 
> digiKam 8.0.0 is out. This entry still valid with this release ?
> 
> Best regards
> 
> Gilles Caulier

I have the same issue using Windows 11, Showfoto 8.0.0, local JPG, 2.6MB, 4000 px x 3000 px takes 1.8s to preview.
Comment 13 gw 2023-06-07 22:50:02 UTC
Created attachment 159527 [details]
procmon log (sysinternals)

This is a procmon log of switching preview to a new image.
You can see that the same file is opened multiple times (first 200 kB, then complete file, then 200 kB again).
Also main read buffer size seems very small (4 kB).
However the most time consumption is between the file read accesses.
670 ms consumption between function calls:
  _ShowFoto::ShowfotoFolderViewSideBar::setCurrentPath(QString const&)
 _Digikam::EditorCore::load(QString const&, Digikam::IOFileSettings*)
160 ms file i/o read 2.6 mb in 4 kB chunks
670 ms consumption between functions calls:
  _Digikam::EditorCore::slotImageLoaded(Digikam::LoadingDescription const&, Digikam::DImg const&)
  _Digikam::LoadingCacheFileWatch::addedImage(QString const&)
Comment 14 caulier.gilles 2023-10-15 12:28:54 UTC
@gw@afk74.de,


This problem still reproducible with the new digiKam 8.2.0 pre-release Windows
installer available at usual place:

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

This new bundle is based on last Qt framework 5.15.11 and KDE framework 5.110.

Thanks in advance

Gilles Caulier
Comment 15 gw 2023-10-15 23:28:22 UTC
(In reply to caulier.gilles from comment #14)
> @gw@afk74.de,
> 
> 
> This problem still reproducible with the new digiKam 8.2.0 pre-release
> Windows
> installer available at usual place:
> 
> https://files.kde.org/digikam/
> 
> This new bundle is based on last Qt framework 5.15.11 and KDE framework
> 5.110.
> 
> Thanks in advance
> 
> Gilles Caulier

Yes, still reproducible. File is still read in 4kb chunks. Same file takes now 1.9s.
Comment 16 caulier.gilles 2025-04-11 18:13:52 UTC
Hi,

The 8.7.0 pre-release Windows installer from today have been rebuilt from
scratch with Qt 6.8.3, KDE 6.12, OpenCV 4.11 + CUDA support, Exiv2 0.28.5, ExifTool 13.27, ffmpeg 7, all image codecs updated to last version (jxl, avif, heif, aom, etc.).

Please try with this version to see if your problem still reproducible...

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

Thanks in advance
Best regards

Gilles Caulier
Comment 17 caulier.gilles 2025-12-18 12:07:15 UTC
@gw@afk74.de,

We never reproduced the dysfunction. Please give us a feedback with digKam 8.8.0 stable release

Gilles Caulier
Comment 18 Thomas Erlacher 2025-12-18 15:54:28 UTC
Created attachment 187774 [details]
attachment-2334795-0.html

Entschuldige, wurde bereits behoben.

Liebe Grüße
Thomas Erlacher

<bugzilla_noreply@kde.org> schrieb am Do., 18. Dez. 2025, 13:07:

> https://bugs.kde.org/show_bug.cgi?id=419903
>
> --- Comment #17 from caulier.gilles@gmail.com ---
> @gw@afk74.de,
>
> We never reproduced the dysfunction. Please give us a feedback with digKam
> 8.8.0 stable release
>
> Gilles Caulier
>
> --
> You are receiving this mail because:
> You reported the bug.