Bug 206426 - Default ICC profile locations reads the same directory twice
Summary: Default ICC profile locations reads the same directory twice
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: ColorManagement-Profiles (show other bugs)
Version: 1.0.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-05 20:43 UTC by Milan Knížek
Modified: 2022-02-01 11:19 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 1.0.0
Sentry Crash Report:


Attachments
Screenshot of the paths found. (100.93 KB, image/png)
2009-09-05 20:44 UTC, Milan Knížek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Knížek 2009-09-05 20:43:46 UTC
Version:           digikam 1.0.0 beta5 (svn 1020214) (using KDE 4.2.4)
OS:                Linux
Installed from:    Compiled From Sources

digiKam searches installed ICC profiles in various directories and also shows, which folders are used for scanning.

On Ubuntu 9.04 amd64, it scans twice the same directory:

/usr/share//color/icc
/usr/share/color/icc

which results in each profile being displayed twice in the drop-down lists.
Comment 1 Milan Knížek 2009-09-05 20:44:46 UTC
Created attachment 36723 [details]
Screenshot of the paths found.
Comment 2 Marcel Wiesweg 2009-09-11 18:32:33 UTC
SVN commit 1022382 by mwiesweg:

Use QDir's canonicalPath() to filter out duplicate directories in color profiles search path

BUG: 206426

 M  +3 -1      NEWS  
 M  +12 -4     libs/dimg/filters/iccprofile.cpp  
 M  +1 -1      utilities/imageeditor/canvas/iccsettings.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1022382