Just tested new desktop color picker on macOS 11.2.3 and the IDE stops and shows a nil pointer exception on this line of code
After calling the following code to close the window.
if ColorPicker1.IsVisible then DesktopColorPicker.Close() close()
I have the following pragma set as well in the code showing the window.
#Pragma BreakOnExceptions false
I am guessing it’s some debug code as the runtime is not caught and keeps running next line of code.
Also documentation shows IsVisible is shared, it is a local property for DesktopColorPicker.