[Digikam-devel] [digikam] [Bug 322789] Enabling "color managed view" in editor slows down tool startup
Peter Albrecht
px79 at crazymonkeys.de
Fri Dec 27 21:51:21 GMT 2013
https://bugs.kde.org/show_bug.cgi?id=322789
--- Comment #16 from Peter Albrecht <px79 at crazymonkeys.de> ---
Update:
Andreas K. Hüttel (Gentoo KDE Team) had the great idea to do an strace on this
strange digiKam / LCMS behaviour. See
https://bugs.gentoo.org/show_bug.cgi?id=496140#c5
The result is very interesting: During one start of the tool "Brightness /
Contrast / Gamma..." you can find 464 times the following lines in the strace
log:
------------------------------------- 8< -------------------------------------
open("/usr/share/apps/libkdcraw/profiles/srgb-d65.icm", O_RDONLY|O_CLOEXEC) =
65
fcntl(65, F_SETFD, FD_CLOEXEC) = 0
fstat(65, {st_mode=S_IFREG|0644, st_size=6924, ...}) = 0
fstat(65, {st_mode=S_IFREG|0644, st_size=6924, ...}) = 0
fstat(65, {st_mode=S_IFREG|0644, st_size=6924, ...}) = 0
read(65, "\0\0\33\flcms\0020\0\0mntrRGB XYZ \7\324\0\10\0\r\0\f"..., 16384) =
6924
read(65, "", 9460) = 0
close(65) = 0
------------------------------------- >8 -------------------------------------
The whole content of 6924 bytes is compleately read 464 times.
Does some have an idea, why? Normally you would load a file once and keep it in
memory.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list