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 672793 - GFig cannot paint closed paths outside of the layer
GFig cannot paint closed paths outside of the layer
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Plugins
git master
Other All
: Normal normal
: 2.8
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2012-03-25 11:24 UTC by Alexis Wilhelm
Modified: 2015-10-19 07:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
description of the problem (34.11 KB, image/png)
2012-03-25 11:24 UTC, Alexis Wilhelm
  Details
patch (5.71 KB, patch)
2012-03-25 11:28 UTC, Alexis Wilhelm
none Details | Review

Description Alexis Wilhelm 2012-03-25 11:24:11 UTC
Created attachment 210558 [details]
description of the problem

The attached screen shot should make the situation clear enough. The bug appears while drawing rectangles, circles, ellipses, polygons or stars partially outside of the layer.

Those figures are painted with gimp_edit_stroke(), but the selection is bounded to the layer's boundaries, so what is really stroked is the intersection of the figure and the layer.
Comment 1 Alexis Wilhelm 2012-03-25 11:28:19 UTC
Created attachment 210559 [details] [review]
patch

This patch replaces gimp_edit_stroke() with gfig_paint().
Comment 2 Mikael Magnusson 2012-03-25 11:50:27 UTC
As a bonus, it seems like your version removes the squigglyness too.
Comment 3 tobias 2012-03-26 11:23:01 UTC
As this patch is in gimp git now, I think this bug report can be closed.
Comment 4 Mikael Magnusson 2012-03-26 15:51:34 UTC
commit 34000d4ce24f19687748d00f9a1f064d9c6f5e4b
Author: Alexis Wilhelm <alexiswilhelm@gmail.com>
Date:   Sun Mar 25 13:24:55 2012 +0200

    Bug 672793 - GFig cannot paint closed paths outside of the layer