After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 113237 - Can't duplicate a color in the palette editor by DnD'ing
Can't duplicate a color in the palette editor by DnD'ing
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: User Interface
git master
Other All
: Normal minor
: 2.4
Assigned To: GIMP Bugs
Daniel Egger
Depends on:
Blocks:
 
 
Reported: 2003-05-18 16:07 UTC by Pedro Gimeno
Modified: 2005-07-21 22:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pedro Gimeno 2003-05-18 16:07:54 UTC
If I drag a color from the palette editor and drop it in the palette editor
again, the color is not duplicated; instead I get:

(gimp-1.3:826): Gimp-Widgets-WARNING **: Received invalid palette data
Comment 1 Michael Natterer 2003-05-18 19:33:07 UTC
Fixed in CVS:

2003-05-18  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppaletteeditor.c (color_palette_target_table): 
	removed GIMP_TARGET_PALETTE. Fixes bug #113237.
Comment 2 david gowers 2005-07-21 00:43:46 UTC
This should be reopened as it recently broke. Dragged colors from the palette
editor became useless -- you cannot drop them anywhere (not on fg/bg in
colorsel, palette editor, gradient editor).

I assume this broke upon the change to GimpPaletteView. Although, looking at
gimppaletteview.c, I'm not sure what is causing palette-editor-dragged colors to
be unrecognizable as colors to gimp.
Comment 3 Michael Natterer 2005-07-21 22:31:39 UTC
Indeed, and i even fails for the same reason than in this bug.
Comment 4 Michael Natterer 2005-07-21 22:36:22 UTC
Fixed in CVS:

2005-07-22  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppaletteview.c: setup the dnd stuff in
	GimpView::set_viewable() and remove GimpView's automatically added
	GimpPalette drag source. Fixes color dragging (bug #113237).