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 418215 - Blend Tool in conjuction with a Active Rectangle selection modified by Rotate, Shear and Perspective Tools
Blend Tool in conjuction with a Active Rectangle selection modified by Rotate...
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Tools
2.3.x
Other All
: Normal normal
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2007-03-14 13:46 UTC by Cofaru Corneliu
Modified: 2008-01-15 14:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Cofaru Corneliu 2007-03-14 13:46:58 UTC
Please describe the problem:
After modifying a rectangle selection with either one of the Rotate, Shear and Perspective Tools, applying the Blend Tool on the modified selection does not fill only the selection but the entire area (delimited by a dotted yellowish-black line) in wich the selection finds itself.

Steps to reproduce:
1. Do a simple rectangle selection (in a new image)
2. Apply one of the follwing transformations on it : Shear, Rotate, Perspective
3. Apply the Blend tool on the modified selection


Actual results:
Instead of filling only the modified selection, the entire area if filled (the minimum rectangle in which the modified selection fits)

Expected results:
Only the modified selection should be filled (as in Gimp 2.2.13)

Does this happen every time?
YES

Other information:
Comment 1 Raphaël Quinet 2007-03-14 16:29:36 UTC
The problem does not occur when you transform the selection mask (the outline) but only when you perform a normal transformation, which transforms the selected pixels.  What happens in this case is that a "floating selection" is automatically created and the transformation is applied to this special layer.

When a "floating selection" is active, the Blend tool in 2.3.x will fill the whole layer and ignore the selection mask.  In 2.2.x, the Blend tool was only filling the area inside the selection mask.

We should really get rid of floating selections...
Comment 2 Sven Neumann 2007-05-21 15:28:44 UTC
Should be looked at before 2.4.
Comment 3 Michael Natterer 2007-05-27 22:42:57 UTC
Gimp 2.2 set "preserve trans" (now lock alpha) to TRUE on floating
selections. Maybe we finally found the reason for this behavior :)
I don't really know how to proceede from here. The marching ants
clearly suggest that there is a selection even though there is none,
and there wasn't in 2.2.
Comment 4 Michael Natterer 2007-05-27 23:03:38 UTC
Fixed in SVN:

2007-05-28  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplayer-floating-sel.c (floating_sel_attach): set
	"Lock Alpha" to TRUE again on floating selections.

	(floating_sel_to_layer): instead, set it to FALSE when turning
	it into a new layer. Fixes bug #418215 and keeps #161042 closed.
Comment 5 Michael Natterer 2007-06-02 11:22:19 UTC
Forgot to actually set to FIXED.