<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>514272</bug_id>
          
          <creation_ts>2026-01-07 13:05:45 +0000</creation_ts>
          <short_desc>Digikam very long at start</short_desc>
          <delta_ts>2026-01-07 21:21:20 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>Setup-ColorManagement</component>
          <version>8.8.0</version>
          <rep_platform>macOS (DMG)</rep_platform>
          <op_sys>macOS</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>simpsonus</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>caulier.gilles</cc>
    
    <cc>metzpinguin</cc>
          
          <cf_commitlink>https://invent.kde.org/graphics/digikam/-/commit/1a07cc23b7865c846ac86787e281a0a5f6f983fe</cf_commitlink>
          <cf_versionfixedin>9.0.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2482597</commentid>
    <comment_count>0</comment_count>
    <who name="">simpsonus</who>
    <bug_when>2026-01-07 13:05:45 +0000</bug_when>
    <thetext>After changing some preferences in ColorManagement with preferences panel, Digikam became very slow at launch, more than 1 minute to get ready.
I looked at the difference between old and new digikamrc preference file and here is the reason : 

The DefaultPath parameter in Color Management was set to / instead of empty.

Good start time:
[Color Management]
DefaultPath=

Long start time:
[Color Management]
DefaultPath=/

The bad thing is that I don&apos;t know how this parameter changed from empty to / I don&apos;t even see this parameter on the preferences panel.
If I set the parameter to empty in the digikamrc file, starting time is good.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2482603</commentid>
    <comment_count>1</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2026-01-07 13:17:24 +0000</bug_when>
    <thetext>Ok I will take a look in a few day to patch the relevant code.

Gilles Caulier (who uses macOS too)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2482659</commentid>
    <comment_count>2</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2026-01-07 15:57:30 +0000</bug_when>
    <thetext>We recursively scan for color profiles in iccSettings::Private::scanDirectory(). If you select, for example, the root directory &quot;/&quot; in the settings, or drive &quot;C:\&quot; in Windows, then the entire hard drive is scanned. This takes forever. I think scanning only the selected directory should be sufficient, or limiting the search to subdirectories.

Maik</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2482766</commentid>
    <comment_count>3</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2026-01-07 21:21:20 +0000</bug_when>
    <thetext>Git commit 1a07cc23b7865c846ac86787e281a0a5f6f983fe by Maik Qualmann.
Committed on 07/01/2026 at 21:20.
Pushed by mqualmann into branch &apos;master&apos;.

limit search for color profiles to 2 subfolders in depth
FIXED-IN: 9.0.0

M  +1    -1    NEWS
M  +6    -0    core/libs/dimg/filters/icc/iccsettings_p.cpp
M  +2    -0    core/libs/dimg/filters/icc/iccsettings_p.h

https://invent.kde.org/graphics/digikam/-/commit/1a07cc23b7865c846ac86787e281a0a5f6f983fe</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>