Bug 332389 - [openGL] [2.8.x] Background transparency checker is broken
Summary: [openGL] [2.8.x] Background transparency checker is broken
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 2.8.0
Platform: Compiled Sources Linux
: NOR grave
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-21 06:20 UTC by David REVOY
Modified: 2014-03-25 10:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David REVOY 2014-03-21 06:20:08 UTC
Hi, the background transparency checker ( 100% alpha representation on canvas ) is broken using any OpenGL options. It works fine with CPU. The checker is replaced by a flat white or black background.

To reproduce :
============
_( note : I guess it affects mostly Nvidia driver )_
1. Open any document
2. Turn on OpenGL
2. Erase all the layer to get a transparent document

Result :
======
Background checker decoration transparency are replaced to a flat, uniform color.
Comment 1 Halla Rempt 2014-03-22 10:43:37 UTC
Git commit bc8ca01a2d1f3cb46ffc6e0952a34c707b544dc3 by Boudewijn Rempt.
Committed on 22/03/2014 at 10:34.
Pushed by rempt into branch 'calligra/2.8'.

Revert "Cache the uniform locations for the display and checker shaders"

This reverts commit 8b3a29d36c010a0e6aa2a139012c0671bc88edb6.

M  +8    -29   krita/ui/opengl/kis_opengl_canvas2.cpp

http://commits.kde.org/calligra/bc8ca01a2d1f3cb46ffc6e0952a34c707b544dc3
Comment 2 Halla Rempt 2014-03-22 10:44:15 UTC
Git commit da012e477d832dd0bd00fea10c970de05ca1f386 by Boudewijn Rempt.
Committed on 22/03/2014 at 10:43.
Pushed by rempt into branch 'master'.

Revert "Cache the uniform locations for the display and checker shaders"

This reverts commit 2eb875ee557c89f2bc910deede33401c630d1176.

M  +8    -29   krita/ui/opengl/kis_opengl_canvas2.cpp

http://commits.kde.org/calligra/da012e477d832dd0bd00fea10c970de05ca1f386
Comment 3 David REVOY 2014-03-22 14:36:32 UTC
Hey,  I updated my calligra/2.8, and I still get the same issue even after this revert ( I checked with git log , and made also a clean install on the top , removing 'build' and 'inst' folder ).
Do I did something wrong ? How to check if it's not a local-install-only issue ?
Comment 4 Halla Rempt 2014-03-22 15:35:07 UTC
Argh... that was the wrong commit to revert.
Comment 5 vanyossi 2014-03-25 01:32:27 UTC
Is this fixed now? I get normal checkerboard with OpenGL Nvidia.
master e729d6e4f868e0
Comment 6 David REVOY 2014-03-25 10:08:10 UTC
Hey thanks for the reminder Vanyossi, 
Yes, I built the new 2.8.1 tagged yesterday this morning, and don't have the issue anymore. 
Thanks !