GNOME Bugzilla – Bug 418215
Blend Tool in conjuction with a Active Rectangle selection modified by Rotate, Shear and Perspective Tools
Last modified: 2008-01-15 14:11:12 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:
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...
Should be looked at before 2.4.
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.
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.
Forgot to actually set to FIXED.