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 311621 - ImageMap plugin rectangle draws dirty
ImageMap plugin rectangle draws dirty
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Plugins
2.2.x
Other Windows
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
: 359057 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-07-26 16:55 UTC by Andrew
Modified: 2008-01-15 12:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot (148.51 KB, image/png)
2005-07-26 16:56 UTC, Andrew
Details
second screenshot (60.32 KB, image/png)
2005-07-27 22:55 UTC, Andrew
Details

Description Andrew 2005-07-26 16:55:45 UTC
Distribution/Version: 2000 Pro

1. Open an image
2. Filters->Web->ImageMap
3. Draw a rectangle

While dragging to resize the rectangle, many of the old borders remain.  It
leaves the screen dirty with the old rectangles.
Comment 1 Andrew 2005-07-26 16:56:29 UTC
Created attachment 49787 [details]
screenshot
Comment 2 Sven Neumann 2005-07-27 10:01:54 UTC
That is either a bug in GTK+ then or a bug in your graphics card driver. Do you
have a chance to test this on different hardware? In any case it should be
reassigned to GTK+ because the problem doesn't show up on Linux.
Comment 3 Andrew 2005-07-27 22:55:26 UTC
Created attachment 49856 [details]
second screenshot

Same problem on different machine: Windows 98 with "S3 Trio3D/2X" display
adapter.
Comment 4 Andrew 2005-07-27 22:59:03 UTC
The first screen shot is with display adapter "Intel Corporation 810 Graphics Hub."
Comment 5 Maurits Rijk 2005-08-01 08:17:53 UTC
I have noticed the same problem on my win2000 machine at work. Like sven said,
it's unlikely that this is a Gimp problem. A simple testcase with GTK+ (drawing
a line twice in xor mode should leave no garbage) on a windows machine should
point out if this is a problem with the windows version of GTK+. However, for
the next month I won't have access to any windows machine :)
Comment 6 Michael Schumacher 2005-08-02 12:23:12 UTC
Confirming on various other graphics boards - using GTK+ 2.6.8. However, today
GTK+ 2.6.9 has been released, and it got at least one fix which explictely
covers line rendering (I don't know if this is related, though):

- Improve and simply line segment rendering [Tor]

Udated binary packages are available as well:
ftp://ftp.gtk.org/pub/gtk/v2.6/win32/

We should check if this still happens with 2.6.9.
Comment 7 Michael Schumacher 2005-08-03 11:46:57 UTC
Still the same behaviour with GTK+ 2.6.9.
Comment 8 Sven Neumann 2006-08-16 12:17:41 UTC
Michael, can you still reproduce this problem ?
Comment 9 Michael Natterer 2006-10-02 18:19:54 UTC
*** Bug 359057 has been marked as a duplicate of this bug. ***
Comment 10 Michael Natterer 2006-10-14 20:14:04 UTC
Fixed in both branches:

2006-10-14  Michael Natterer  <mitch@gimp.org>

	* plug-ins/imagemap/imap_cmd_move.c
	* plug-ins/imagemap/imap_cmd_move_sash.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_object.c: use GDK_XOR instead of
	GDK_EQUIV. Fixes bug #311621.