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):

  1. Open Inkscape
  2. Draw a rectangle and select it
  3. Open the fill and stroke panel (Ctrl + Shift + F)
  4. Ensure alpha is set to 100
  5. Close Inkscape

The crash repo can still happen if you don't do this, but it takes more fiddling.

Actual steps:

  1. Download some color profiles if you don't already have them: Adobe ICC Profiles
  2. 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)
  3. Open Inkscape
  4. Open Document Properties (Ctrl + Shift + D)
  5. Flip to the Color tab and add the GRACoL 2006 color profile
  6. Close the Document Properties panel
  7. Draw a rectangle
  8. Open the fill and stroke panel with it selected (Ctrl + Shift + F)
  9. 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
  10. Flip to the Wheel panel and move the chosen color circle
  11. Flip back to the CMS panel and apply the GRACol 2006 profile
    • All sliders will definitely now all be visible
  12. Drag the A slider to something like 60 (probably anything but 100)
  13. Flip to the Wheel panel
  14. Click in the triangle to move the chosen color circle and drag the A slider to 100
  15. 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

inkscape_backtrace.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