Issue 113 in gpick: GPL import discards some of the first items

1 view
Skip to first unread message

gp...@googlecode.com

unread,
Dec 24, 2013, 7:43:35 AM12/24/13
to gp...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 113 by fintic...@gmail.com: GPL import discards some of the first
items
http://code.google.com/p/gpick/issues/detail?id=113

This is easily replicable with a small palette.
It appears to be related to having less than 3 digits for R G B values
(eg '40 255 0' rather than '040 255 000').

The first attachment is a simple 17-color palette which fails to load
correctly (first loaded color is #5)
The attached 'fixed.gpl' file is loaded correctly. It's an edited version
of the first attachment where every RGB intensity is 0-padded to 3 places.

Attachments:
db16+.gpl 407 bytes
fixed.gpl 407 bytes

--
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, 7:57:17 AM12/24/13
to gp...@googlegroups.com

Comment #1 on issue 113 by fintic...@gmail.com: GPL import discards some of
I believe uiExport.cpp:125 is the culprit, since lines that start with a
space contain colors, but this is not recognized by the conditional (only
recognizes lines starting with digits)

gp...@googlecode.com

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

Comment #2 on issue 113 by fintic...@gmail.com: GPL import discards some of
Fixed in changeset 285:19d5ee0b1943. I'll switch to my old account to close
this.

gp...@googlecode.com

unread,
Dec 24, 2013, 3:48:35 PM12/24/13
to gp...@googlegroups.com
Updates:
Status: Fixed

Comment #3 on issue 113 by 00a...@gmail.com: GPL import discards some of
Closing.
Reply all
Reply to author
Forward
0 new messages