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 558420 - projection incorrect with alpha-less layers
projection incorrect with alpha-less layers
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: General
2.6.1
Other All
: Normal critical
: 2.6
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2008-10-29 17:07 UTC by tmaes
Modified: 2008-10-29 19:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description tmaes 2008-10-29 17:07:55 UTC
Hi,
I tried to reproduce for two hours and I can't...
procedure:
at some time of my work, apparently not in a new session after fresh reboot,
1) I open a jpg photo 1504x1000px
2) I resize the image canevas by 10 in the width only (to make a panorama i.e.)
3) I open as layers a few other images
4) than, if I take one of these new layers and play with opacity, its display become awfull... like little squares of different opacities...
5) plus when I than use erase tools, it doesn't erase, it places background colr where I pass...

hint: if I open the other image in a new window, copy and paste its content in my first image, the bug doesn't appear.

printscreen:
http://tmaes.no-ip.org/tmaes/temp/gimp01.jpg

gimp 2.6.1
windows xp x64
pentium q6600
2gb ram
geforce 8800gtx
wacom tablet intuos 3
dual sceen NEC

hope it can help...
bye!
Comment 1 tmaes 2008-10-29 17:24:04 UTC
I forgot to tell that the same problem appeard this morning on my laptop too (macbook) running Windows Xp on dual screen.
Comment 2 Sven Neumann 2008-10-29 18:59:07 UTC
The upper layer (the one you imported using "Open as Layers") does not have an alpha channel. That is fine and explains the behavior of the Erase tool. The actual problem is though that the projection is indeed rendered incorrectly if the opacity of this opaque layer is reduced.
Comment 3 Sven Neumann 2008-10-29 19:24:18 UTC
Fixed in both branches:

2008-10-29  Sven Neumann  <sven@gimp.org>

        Bug 558420 – projection incorrect with alpha-less layers

        * app/core/gimpprojection-construct.c (gimp_projection_initialize):
        need to initialize the projection if the covering layer is not
        opaque.