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 532886 - Edit->Copy doesn't always update the clipboard brush
Edit->Copy doesn't always update the clipboard brush
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: User Interface
git master
Other All
: Normal normal
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2008-05-13 04:00 UTC by david gowers
Modified: 2008-05-14 07:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description david gowers 2008-05-13 04:00:45 UTC
Steps to reproduce it:
1. Open an image
2. Make sure that nothing is selected, by using 'Select->None'
3. Edit->Copy
4. Notice how the Clipboard Brush goes blank, rather than changing to
the copied data or a cropping of the copied data (since 512x512 is the
limit of clipboard brush)
5. Check that the image data copied okay, with Edit->Paste as->New image
6. Go back to the first image
7. Select->All
8. Edit->Copy
9. Notice that now the clipboard brush correctly contains the copied pixel data.

It is my understanding that usually, having nothing selected is
treated the same as having everything selected.
Comment 1 Sven Neumann 2008-05-14 07:04:58 UTC
Fixed in both branches:

2008-05-14  Sven Neumann  <sven@gimp.org>

	* app/core/gimpbrushclipboard.c
	(gimp_brush_clipboard_buffer_changed): for an opaque buffer,
	initialize the brush mask with 255 instead of 0.  Fixes bug #532886.