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 696090 - Usage of Scale Tool produces BG Color artefacts
Usage of Scale Tool produces BG Color artefacts
Status: RESOLVED DUPLICATE of bug 698468
Product: GIMP
Classification: Other
Component: General
2.8.4
Other All
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2013-03-18 18:11 UTC by gedon
Modified: 2018-01-02 23:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Examples (1.30 MB, image/png)
2013-03-18 18:11 UTC, gedon
Details

Description gedon 2013-03-18 18:11:49 UTC
Created attachment 239171 [details]
Examples

How to reproduce:
- set FG/BG Color to back and white
- open a new picture with FG Color
- select an area on top of the picture and delete it (deleted area becomes white)
- select a black area 
- use the scale tool to cover the white area with the black selection
- anchor the floating selection

You can now discover the BG color at a position where the former lower border of the "black" selection was.
Comment 1 Téo Mazars 2013-03-18 19:59:15 UTC
Confirming, 

A workaround: you can use "Selection" instead of "Layer" in the toolbox.
If you just want to scale-and-anchor a part of the image, it will do that in one step, without the artifact.
Comment 2 gedon 2013-03-19 03:35:29 UTC
Thx for your Comment. 

Your proposal using "Seletion" doesn't work cause it scales only the selection itself, not the content. 

My workaround: select a part, copy&paste. The resulting floating selection can now be scaled.
Comment 3 Téo Mazars 2013-03-19 06:17:57 UTC
Hu, yeah, I don't know what made ​​me believe that it worked. Sorry...
Comment 4 Michael Schumacher 2013-03-19 12:06:15 UTC
Is this bug #592628?
Comment 5 gedon 2013-03-19 18:43:34 UTC
No, it has nothing to do with that bug.
Comment 6 Téo Mazars 2013-04-19 17:33:40 UTC
I looked at the code, and the current implementation do something like this :

- Cut the selection
- In the previously cutted buffer, fill the complementary region with BG or transparency if there is an alpha channel
- apply the transformation on that buffer
- paste the resulting buffer on the image.


My guess is that this should be a implemented as a GEGL's "abyss policy" like "clamp to the border"...

Will ask...
Comment 7 Téo Mazars 2013-04-20 19:40:05 UTC
Patch submitted upstream: https://bugzilla.gnome.org/show_bug.cgi?id=698468
Comment 8 Michael Natterer 2016-11-07 18:05:53 UTC
Isn't this a duplicate of that GEGL bug now?
Comment 9 Michael Natterer 2018-01-02 23:06:25 UTC
No way this will be fixed in 2.8, resolving as duplicate of the  GEGL bug.

*** This bug has been marked as a duplicate of bug 698468 ***