Bug 295294 - startup reads far too many files
Summary: startup reads far too many files
Status: RESOLVED INTENTIONAL
Alias: None
Product: digikam
Classification: Applications
Component: Setup-ColorManagement (show other bugs)
Version: 2.3.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-04 09:02 UTC by Pierre Hanser
Modified: 2017-08-10 11:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Hanser 2012-03-04 09:02:30 UTC
User-Agent:       Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Build Identifier: current from git

hello

i run digikam with strace to see what it does during initialisation
40% of system calls are used to walk through my home directory
(which is admittedly huge) but where none of
my albums is placed. 

Guess: it seems to be looking for color profile files as i have
declared home as containg my computer icc profile. I never
thought that would imply recursivity.

I can modify this, but at least a warning should appear in
the settings menu for icc profile as this can have a huge
impact.

Reproducible: Always
Comment 1 Marcel Wiesweg 2012-03-04 20:39:53 UTC
Move your color profile to a standard location, such as ~/.local/share/color/icc/
color/icc directories need to be searched recursively.

Note that the comprehensive solution should be system-wide color management support where the available profiles are listed by an API and are configured in system settings.
Comment 2 Pierre Hanser 2012-03-09 17:25:13 UTC
ok

i want to add that even if you disable color management in the settings,
if unfortunately you have modified the root path for color profile, the
directory indicated will be searched recursively for standard color profiles.

so disabling color management is not enough to solve the problem.
you need to get this path reverted to something more appropriate.

and if you disable color management you no longer have access to the
two other tabs where the path is specified!