drummerb / bfcolorpickerpopover Goto Github PK
View Code? Open in Web Editor NEWThe standard OS X color picker put into an NSPopover
License: Other
The standard OS X color picker put into an NSPopover
License: Other
I'm getting lots of the following errors at runtime while using the extended color well. Running OS X 10.11.3:
: Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored.Please fix this problem.
The method
- (BOOL)_delegatePopoverShouldClose:(id)sender
(BFColorPickerPopover:182) is not called in Yosemite when the popover is dismissed by clicking outside, and thus the popover keeps observing changes on the shared color picker, creating some weird behaviour.
BFColorPickerPopover is not disappearing after selecting color.
Hi
I am having an issue where the ColorPicker will not display when clicked inside an NSTableView. From debugging the issue I see that the method:
Is not being called when the mouseDown event is fired inside BFPopoverColorWell.m.
I have tried changing the mouseDown event to always call:
[self deactivate];
[self activateWithPopover];
This fixed the issue of the Popover not displaying but introduced a different issue that when I clicked onto a another NSColorWell without dismissing the ColorPickerPopover the colour would change both NSColorWells to be the same colour.
Can you please help me to understand how I cold possibly fix this issue ?
Thanks,
Michael
User favorites (the favorite color palette at the bottom) are not loaded when the picker is displayed. These favorites are shared across applications. If you then add favorites through the picker, the user's favorite colors are replaced with the newly-created list (that is, a list of 10 colors is immediately reset to a list with the only first color you add via the picker). Because the list is "empty" when presented, then overwritten when changed, this leads to data loss.
Steps to recreate:
After spending some time investigating BFColorPicker, I was unable to determine the cause. I have a theory transferring the panel's contents disconnects something that wasn't considered. I welcome a discussion. :-)
I've also added this issue in OskarGroth's ColorPickerPopover (Swift rewrite of this project).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.