News for hackers. Stuff that matters.
Re:“Your program is stupid. It doesn't work,” my wife told m... by Jaruzel on Friday November 25, 2016 @09:56AM (#13037108)
Why is he coding in a Color Picker anyway?

HTML5 has the input type of 'color' which uses the OS's default color picker dialog.

Edit: Oops, it's dated 2010 isn't it.

Re:“Your program is stupid. It doesn't work,” my wife told m... by vertex-four on Friday November 25, 2016 @10:15AM (#13037247)
If you're developing a half-way complex web application, you largely don't want to depend on OS default dialogs. They can be buggy, detract from the UX of the rest of your application, require additional support as now you need to explain how to use the different dialogs on N different operating systems, and it's often the case that your application is the first time the user comes into contact with that dialog anyway - they're usually not nearly as commonly used as you'd think.
Re:“Your program is stupid. It doesn't work,” my wife told m... by taneq on Friday November 25, 2016 @12:10PM (#13038149)
I'm trying to think of a cross-platform framework that didn't eventually do away with native widgets, at least optionally. Java went from AWT to Swing, wxWidgets has wxUniversal, even the <button> tag got custom skinning.

Is this becoming a pattern? "Cross Platform Requires Owner Drawn Widgets."

Re:“Your program is stupid. It doesn't work,” my wife told m... by lbebber on Friday November 25, 2016 @11:01AM (#13037594)
Last time I saw, Windows' color picker was still awful. Plus you may not want a separate window for the color picker.