Fill and Stroke's Wheel panel alpha slider can cause a crash when interacting with the CMS panel
Summary:
... (write here)
Steps to reproduce:
Pre-req (can be skipped if you already know your alpha is set to 100):
- Open Inkscape
- Draw a rectangle and select it
- Open the fill and stroke panel (Ctrl + Shift + F)
- Ensure alpha is set to 100
- Close Inkscape
The crash repo can still happen if you don't do this, but it takes more fiddling.
Actual steps:
- Download some color profiles if you don't already have them: Adobe ICC Profiles
- If you didn't already have color profiles, copy the Coated GRACoL 2006 profile into the following folder:
- Windows:
C:\Windows\System32\spool\drivers\color - Linux:
/home/USER_NAME_HERE/.color/icc(unless Inkscape expects it somewhere else)
- Windows:
- Open Inkscape
- Open Document Properties (Ctrl + Shift + D)
- Flip to the Color tab and add the GRACoL 2006 color profile
- Close the Document Properties panel
- Draw a rectangle
- Open the fill and stroke panel with it selected (Ctrl + Shift + F)
- Flip to the CMS panel and apply the GRACol 2006 profile
- If all sliders appear, skip to step 12
- If only the A (alpha) slider appears, continue to step 10
- Flip to the Wheel panel and move the chosen color circle
- Flip back to the CMS panel and apply the GRACol 2006 profile
- All sliders will definitely now all be visible
- Drag the A slider to something like 60 (probably anything but 100)
- Flip to the Wheel panel
- Click in the triangle to move the chosen color circle and drag the A slider to 100
- Flip back to the CMS panel and click the plus button next to a non-alpha slider
What happened?
Inkscape crashes!
What should have happened?
Inkscape should not have crashed. :) Inkscape should just update the CMS panel sliders as expected for the now current values.
Sample attachments:
inkscape_backtrace_with_symbols.txt
Version Info:
- Inkscape Version: Inkscape 1.1 (c68e22c387, 2021-05-23)
- Operating System: Windows 10
- Operating System version: 2004; build 19041.985
Edited by Alastair McBain