PintaProject / Pinta

Simple GTK# Paint Program
http://www.pinta-project.com/
MIT License
1.82k stars 276 forks source link

[ Feature ] Quick Color Picker #761

Open PhoneDroid opened 6 months ago

PhoneDroid commented 6 months ago

I'm incredibly happy to have found this project, I've always missed the in between type of image editor that Paint.Net provided me on windows ..


Having said that, the color picker is driving me crazy.

Having to click on a tiny screen region image

skipping this presets menu image

to then not even having an option to use RGB / HSL / HSV inputs image

is quite .. well


I'd love to see some form of the easy access color picker found in the original paint.net image image


cameronwhite commented 6 months ago

This is pretty similar to bug #570 - this dialog is currently just using the standard system GTK color picker, so isn't any Pinta-specific code, but I agree it's not a great dialog For entering HSV values, right-clicking on the sliders or the gradient widget will let you enter in specific HSV values

evgeniy-harchenko commented 3 months ago

I have some developments in this direction. 1 But there are a lot of troubles.

First of all I don't understand what is going on with Pinta's versions: why current release has no fixes from master branch? where is gtk4 release version? So I don't know on which branch I should make changes.

Second problem is with palette placing. Now I am using Overlay, but it needs correct positioning. We should do correct calculations of the position depending on rulers (are the visible or not) and scrollbars. The second one is the worst problem. The scrollbars are inside widget's content unlike paint.net (winforms), so we should take into account their sizes and visibility in calculations, but unfortunately I haven't found any solutions yet.

cameronwhite commented 3 months ago

The master branch has been ported to GTK4, which also required porting to a different GTK binding library that supports GTK4. It's been quite a large project so there are many changes compared to the last stable release of 2.1.x

Any new work should absolutely be done on the master branch to avoid having to later go through the hassle of porting from GTK3 to GTK4 :)

For the overlay question, shouldn't the overlay just be relative to the color palette that was clicked on? I'm not clear why it would need to take rulers etc into account