crash in 'Fill > CMS' tab when linked icc color profile name contains spaces
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Jon A. Cruz |
Bug Description
crash when clicking on RGB sliders in 'Fill > Flat color > CMS' after selecting 'Black---White' color profile
Inkscape 0.47pre2-3 and 0.46+devel r22312 on OS X 10.5.8
steps to reproduce:
1) open new document
2) in 'Document Properties > Color Management' link the profile 'Black & White'
3) linked profile name displays as 'Black---White'
4) create rectangle with 'blue' fill (RGBA 0x0000ffff) (default values)
5) open 'Fill&Stroke > Fill > Flat color > CMS', select Black--White profile
6) click on any of the RGB sliders -> crash
console messages - when linking color profile to document:
URI error: parseHex : unexpected character : h
URI error: Hierarchical part
URI error: Syntax error
** Message: lcms: Error 12288; File '/Library/
console messages - when selecting color profile 'Black---White' in 'Flat Fill > CMS' tab
** Message: lcms: Error 12288; Output profile cannot be NULL!
** Message: lcms: Error 12288; Input profile cannot be NULL!
** Message: lcms: Error 12288; Input profile cannot be NULL!
console messages - when clicking on one of the CMS RGB sliders:
** Message: lcms: Error 12288; Input profile cannot be NULL!
Emergency save activated!
Crash report:
<http://
Emergency saved files:
0.46+devel r22312: <http://
0.47pre2-3 r22153: <http://
available color profiles:
LeWitt:patches suv$ ll /Library/
total 288
-rw-rw-r-- 1 root admin 25624 Oct 10 2008 Black & White.icc
-rw-rw-r-- 1 root admin 30420 Oct 10 2008 Blue Tone.icc
drwxrwxr-x 3 root admin 102 Aug 6 04:17 Displays/
-rw-rw-r-- 1 root admin 30420 Oct 10 2008 Gray Tone.icc
-rw-rw-r-- 1 root admin 2736 Oct 10 2008 Lightness Decrease.icc
-rw-rw-r-- 1 root admin 2728 Oct 10 2008 Lightness Increase.icc
-rw-rw-r-- 1 root admin 30428 Oct 10 2008 Sepia Tone.icc
-rw-rw-r-- 1 root admin 10780 Oct 10 2008 WebSafeColors.icc
Changed in inkscape: | |
milestone: | none → 0.47.0 |
milestone: | 0.47.0 → 0.47 |
The problem appears to be that the file system path has been HTML-escaped. May be OS X specific, or may not be.