Issue 36 in gpick: Multi-color internal clipboard

3 views
Skip to first unread message

gp...@googlecode.com

unread,
May 6, 2011, 12:35:21 AM5/6/11
to gp...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 36 by 00a...@gmail.com: Multi-color internal clipboard
http://code.google.com/p/gpick/issues/detail?id=36

- to make it easier to move multiple colors within a palette.

After generating a gradient using 'mix colors' or a scheme
using 'generate', I find I usually want to put it next to the original
colors, but currently have to move one color at a time.

Considering that large numbers of colors can be generated (even as few as
16 becomes troublesome), we could usefully have some way to move large
numbers of colors around. Internal 'Cut/Copy/Paste' is the traditional
solution. This would nicely round out the arrangement-of-colors
functionality.

gp...@googlecode.com

unread,
May 6, 2011, 7:39:12 AM5/6/11
to gp...@googlegroups.com
Updates:
Status: Started

Comment #1 on issue 36 by thez...@gmail.com: Multi-color internal clipboard
http://code.google.com/p/gpick/issues/detail?id=36

I agree that this is necessary, however this will require quite some
changes in the code. I will take a look into this next week.

gp...@googlecode.com

unread,
May 25, 2011, 12:19:23 AM5/25/11
to gp...@googlegroups.com

Comment #2 on issue 36 by 00a...@gmail.com: Multi-color internal clipboard
http://code.google.com/p/gpick/issues/detail?id=36

So, how is this going?

gp...@googlecode.com

unread,
May 26, 2011, 1:32:36 AM5/26/11
to gp...@googlegroups.com

Comment #3 on issue 36 by thez...@gmail.com: Multi-color internal clipboard
http://code.google.com/p/gpick/issues/detail?id=36

I implemented the multi-color drag from the palette, and today will try to
implement the drop functionality.

gp...@googlecode.com

unread,
May 26, 2011, 12:50:47 PM5/26/11
to gp...@googlegroups.com

Comment #4 on issue 36 by thez...@gmail.com: Multi-color internal clipboard
http://code.google.com/p/gpick/issues/detail?id=36

Multi-color drag&drop functionality committed in revision ced9087746a9.
It still needs improvements (its quite hard to not select something while
trying to initiate drag), but its usable

gp...@googlecode.com

unread,
May 27, 2011, 12:13:29 AM5/27/11
to gp...@googlegroups.com

Comment #5 on issue 36 by 00a...@gmail.com: Multi-color internal clipboard
http://code.google.com/p/gpick/issues/detail?id=36

Yeah, works good :) Is the ability to shift a color rather than duplicate
it (via holding SHIFT) new? It's great!
We definitely need to document that somehow -- working with any amount of
colors without that ability to move rather than duplicate is fairly
annoying.

gp...@googlecode.com

unread,
May 29, 2011, 4:55:44 AM5/29/11
to gp...@googlegroups.com

Comment #6 on issue 36 by thez...@gmail.com: Multi-color internal clipboard
http://code.google.com/p/gpick/issues/detail?id=36

The ability to shift colors was as old as drag&drop functionality. Looks
like I need to start writing a manual for Gpick as soon as possible :)

gp...@googlecode.com

unread,
Jun 5, 2011, 10:17:38 AM6/5/11
to gp...@googlegroups.com

Comment #7 on issue 36 by 00a...@gmail.com: Multi-color internal clipboard
http://code.google.com/p/gpick/issues/detail?id=36

I've recently found that occasionally shift-dragging somehow reverses the
order of the colors as they are inserted in the final position. Actually
reliably reproducing this is hard.

gp...@googlecode.com

unread,
Jun 6, 2011, 1:12:39 PM6/6/11
to gp...@googlegroups.com

Comment #8 on issue 36 by thez...@gmail.com: Multi-color internal clipboard
http://code.google.com/p/gpick/issues/detail?id=36

I have tried reproducing it, but couldn't get it to reverse the colors.

gp...@googlecode.com

unread,
Jun 6, 2011, 1:47:15 PM6/6/11
to gp...@googlegroups.com

Comment #9 on issue 36 by thez...@gmail.com: Multi-color internal clipboard
http://code.google.com/p/gpick/issues/detail?id=36

Selection issues solved in revision 85b089216430.

gp...@googlecode.com

unread,
Jul 10, 2011, 4:13:51 PM7/10/11
to gp...@googlegroups.com

Comment #10 on issue 36 by thez...@gmail.com: Multi-color internal clipboard
http://code.google.com/p/gpick/issues/detail?id=36

Color order reversing fixed in revision 9a07528f6645

gp...@googlecode.com

unread,
Aug 18, 2011, 9:22:30 PM8/18/11
to gp...@googlegroups.com

Comment #11 on issue 36 by 00a...@gmail.com: Multi-color internal clipboard
http://code.google.com/p/gpick/issues/detail?id=36

This seems to be working quite well now. I did just notice an issue:
although GPick seems to provide multiple colors in the drag object,
dragging multiple colors between GPick instances only adds a single color
in the instance that they are dropping on to.

gp...@googlecode.com

unread,
Aug 21, 2011, 12:20:35 PM8/21/11
to gp...@googlegroups.com

Comment #12 on issue 36 by thez...@gmail.com: Multi-color internal clipboard
http://code.google.com/p/gpick/issues/detail?id=36

Ability to drag multiple colors between Gpick instances added in revision
2b851bdf148c

gp...@googlecode.com

unread,
May 3, 2013, 8:23:56 AM5/3/13
to gp...@googlegroups.com

Comment #13 on issue 36 by fintic...@gmail.com: Multi-color internal
clipboard
http://code.google.com/p/gpick/issues/detail?id=36

I thought this issue was pretty much addressed, but I realized GPick
doesn't fully understand its own output format -- that is, if I press
Ctrl+C with multiple colors selected, GPick stores multiple lines to the
clipboard; and then I press Ctrl+V to paste, but GPick only reads the first
line on the clipboard, adding one color to the palette instead of 16. This
restricts the means of getting multiple-colors-at-once into GPick to 'Drag
and Drop from another GPick instance', even though any application can put
multiple colors on the clipboard in a text format.

I've begun investigating how to fix this. It looks like the API of
main_get_color_object_from_text needs to change to allow multiple output
colors.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

gp...@googlecode.com

unread,
Dec 24, 2013, 5:55:38 PM12/24/13
to gp...@googlegroups.com

Comment #14 on issue 36 by fintic...@gmail.com: Multi-color internal
clipboard
http://code.google.com/p/gpick/issues/detail?id=36

I'm just now looking at this seriously. I've implemented multi-color output
on the Lua side, and still need to implement it in Converters.cpp (and
adjust accordingly further up the chain of dependencies.)

At the moment I'm considering that the Converters code should look at the
input line-by-line, and send it line-by-line to the lua conversion
machinery. That is, if multiple lines are in the input, the C++ conversion
machinery should do the job of splitting them up, and aggregating returned
colors into an array of ColorObjects.
If you disagree, please speak up. Thanks.
Reply all
Reply to author
Forward
0 new messages