Bug 408289 - Desktop shines trough alpha
Summary: Desktop shines trough alpha
Status: RESOLVED DUPLICATE of bug 408225
Alias: None
Product: krita
Classification: Applications
Component: OpenGL Canvas (show other bugs)
Version: 4.2.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-04 12:52 UTC by max12354678910
Modified: 2019-06-04 12:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Example for alpha issue (452.48 KB, image/png)
2019-06-04 12:52 UTC, max12354678910
Details
The image seen trough the krita canvas (1.30 MB, image/png)
2019-06-04 12:54 UTC, max12354678910
Details

Note You need to log in before you can comment on or make changes to this bug.
Description max12354678910 2019-06-04 12:52:17 UTC
Created attachment 120562 [details]
Example for alpha issue

SUMMARY
When I copen a new Canvas filled with only alpha my desktop and other applications behind Krita shine though the canvas when drawing very lightly.
When creating a new layer below the issue is resolved. How ever when hiding the new layer the issue persist.


STEPS TO REPRODUCE
1. Create new empty (aka filled with alpha) canvas
2. draw lightly with a brush on a the canvas


OBSERVED RESULT
Desktop background appears in drawing


EXPECTED RESULT
Checkerboard pattern is persistent behind alpha surfaces


SOFTWARE/OS VERSIONS
OpenGL Info
 
  Vendor:  "NVIDIA Corporation" 
  Renderer:  "GeForce GTX 1060 6GB/PCIe/SSE2" 
  Version:  "4.6.0 NVIDIA 418.56" 
  Shading language:  "4.60 NVIDIA" 
  Requested format:  QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, profile  QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile)) 
  Current format:    QSurfaceFormat(version 4.6, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, profile  QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile)) 
     Version: 4.6
     Supports deprecated functions true 
     is OpenGL ES: false 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsOpenGLES: true 
  isQtPreferOpenGLES: false 
== log ==
 Supported renderers: QFlags(0x2|0x4) 
Surface format preference list: 
* QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, profile  QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile)) 
    QSurfaceFormat::RenderableType(OpenGL) 
* QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, profile  QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile)) 
    QSurfaceFormat::RenderableType(OpenGLES) 
Probing format... QSurfaceFormat::RenderableType(OpenGL) 
Found format: QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, profile  QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile)) 
    QSurfaceFormat::RenderableType(OpenGL) 

Krita

 Version: 4.2.0
 Languages: de
 Hidpi: false

Qt

  Version (compiled): 5.9.5
  Version (loaded): 5.9.5

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 4.15.0-47-generic
  Pretty Productname: Ubuntu 18.04.2 LTS
  Product Type: ubuntu
  Product Version: 18.04


Hardware Information

  GPU Acceleration: auto
  Memory: 15997 Mb
  Number of Cores: 4
  Swap Location: /tmp


ADDITIONAL INFORMATION
See attached images
Comment 1 Halla Rempt 2019-06-04 12:52:51 UTC
Fixed in 

commit 71af6ece75012fda1780026c9279427e3dcbb9c2
Author: Dmitry Kazakov <dimula73@gmail.com>
Date:   Mon Jun 3 12:58:16 2019 +0300

    Fix transparent canvas on older Qt (Qt 5.9.7)
    
    This version of Qt is still used in distribution
    packages of Krita.
    
    BUG:408225

*** This bug has been marked as a duplicate of bug 408225 ***
Comment 2 max12354678910 2019-06-04 12:54:12 UTC
Created attachment 120563 [details]
The image seen trough the krita canvas

When I move e.g. the Terminal the shine trough also changes. Meaning it is persistent and not a one-time issue on startup