graphsketcher / GraphSketcher

A fast, simple graph drawing and data plotting app for OS X and iPad.
1.62k stars 136 forks source link

Color picker broken in High Sierra #24

Open eboltz opened 6 years ago

eboltz commented 6 years ago

While it is possible to pick a color BEFORE creating an object like a line, curve or text, it is no longer possible to change an object's color or to pick a color other than black for the canvas. Any attempts to change colors of objects or the canvas immediately revert to black.

GraphSketcher fills a needed space for presentation graphs so I'm hopeful this can be easily corrected.

NevinBR commented 6 years ago

I also observe this issue.

wtaysom commented 5 years ago

Found a workaround by using color picker swatches. It's not entirely reliable: certain colors refuse to be picked. (Must be a function of their internal representation, colorspace, or something.)

muunver commented 4 years ago

Same problem here :(

baileyp1 commented 4 years ago

Hello, Did anyone find a solution or fix the bug concerning this issue with the colour picker not working in High Sierra? Any help appreciated :)

muunver commented 4 years ago

Instead of picking a predefined color, I started using RGB sliders option of the mac color picker to choose customized colors and so far it seems to be working.

baileyp1 commented 4 years ago

Thank you – just tried that and it works!

itfrombit commented 4 years ago

The problem is in OQColor.m in the OmniQuartz framework. The method colorWithPlatformColor fails to match a colorSpaceName and returns blackColor every time. In my case, I was getting NSCustomColorSpace, which wasn't being handled. Instead of returning blackColor every time at the bottom of the function, I just returned a linear RGBA color of what was passed in. That seems like a better default choice.

mishaonmac commented 3 years ago

Instead of picking a predefined color, I started using RGB sliders option of the mac color picker to choose customized colors and so far it seems to be working.

'Classic Crayons', 'Web Safe Colors' and 'Developer' palettes of 'Color Palettes' tab of the Color Picker seems to be functional too (on Mojave 10.14.6).