thezbyg / gpick

Advanced color picker written in C++ using GTK+ toolkit
BSD 3-Clause "New" or "Revised" License
376 stars 33 forks source link

Searching colors in palette #207

Open gzagatti opened 2 years ago

gzagatti commented 2 years ago

When in the palette window, I am able to search the colors in my palette by pressing CTRL+F which invokes a search box at the bottom right corner of the app. I can search only for colors by hex code if I start the search with #. However, I have not been able to search colors by their name. Is that possible? I am afraid I cannot find this feature documented anywhere in the repo.

thezbyg commented 2 years ago

Hi, unfortunately there is no way to search by color name, because this is the default search behavior, which only uses first column containing text. I improved this in c6bb67634170caca61f4ea04b63fc5bc63ae30e1 to search in both columns.

gzagatti commented 2 years ago

That's great. Thanks for the addition. I will try to install it over the weekend.

Btw, this app is really cool. It's a great way to manage palettes for all sort of projects.

frankspace commented 3 months ago

How is this function supposed to work? I've installed the current git version, and if I press Ctrl-F, a search box does appear, but absolutely nothing happens if I type anything into it and hit enter. In the "primary view-color picker" pane, there's a "Color name" box under "Info," and a "Color" box under "Input," but trying to enter anything directly into either one simply does nothing. I agree this is a great app, and it'd be really useful to be able to search for a color's name to get the color, but it just doesn't seem to work.