Bug 475111 - Pen stroke lacks pressure and has significant delay on first stroke if under filter layer.
Summary: Pen stroke lacks pressure and has significant delay on first stroke if under ...
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Filter Layers (show other bugs)
Version: nightly build (please specify the git hash!)
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-01 20:37 UTC by Ralek Kolemios
Modified: 2023-10-07 20:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Filter layer bug example file (343.47 KB, application/x-krita)
2023-10-01 20:37 UTC, Ralek Kolemios
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralek Kolemios 2023-10-01 20:37:24 UTC
Created attachment 162012 [details]
Filter layer bug example file

SUMMARY
After moving the canvas in any way, (panning, zooming, rotating), the first and only the first brush stroke is severely delayed and, if it's a tablet pen, occasionally lacks pen pressure. A less severe version of the bug occurs if the layer is not in a group.I've divided them into bug 1 and 2.

Bug 1.
If the layer is in a group and under a filter layer, this bug happens every time the canvas is moved.

Bug 2.
If the layer is outside of a group but under a filter later, the bug only happens the first time the layer is moved under the filter layer in the stack.


STEPS TO REPRODUCE

BUG 1
1. Open the attached file, select the 'Layer' Layer.
2. Move the canvas in any way
3. Draw a brush stroke.
Observe that the pen lacks pressure sensitivity, and the stroke itself is heavily delayed in rendering.

BUG 2
1. Open the attached file, move both 'Filter' and "Layer' layers outside of the group.
2. Move the 'Layer' layer above the filter layer
3. Move the 'Layer' layer below the filter layer.
4. Draw a brush stroke
Observe that the same bug as bug #1 occurs, but that it only happens once and never again until the layer is moved again.



System information
--------------------------------

Krita
  Version: 5.3.0-prealpha (git 27302a3)

Qt
  Version (compiled): 5.15.7
  Version (loaded): 5.15.7

OS Information
  Build ABI: x86_64-little_endian-lp64
  Kernel Version: 6.2.0-33-generic
  Pretty Productname: Ubuntu 23.04


OpenGL Info
  Vendor:  "NVIDIA Corporation" 
  Renderer:  "NVIDIA GeForce RTX 4090/PCIe/SSE2" 
  Driver version:  "4.6.0 NVIDIA 535.104.05" 
  Shading language:  "4.60 NVIDIA" 
  Requested format:  QSurfaceFormat(version 3.3, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CompatibilityProfile) 
  Current format:  QSurfaceFormat(version 4.6, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CompatibilityProfile) 
  GL version: 4.6 
  Supports deprecated functions false 
  Is OpenGL ES: false 
  supportsBufferMapping: true 
  supportsBufferInvalidation: true 
  forceDisableTextureBuffers: false 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsOpenGLES: true 
  isQtPreferOpenGLES: false 
  Detected renderers: 
    (Supported) NVIDIA GeForce RTX 4090/PCIe/SSE2 (OpenGL ES 3.2 NVIDIA 535.104.05) 
    (Supported) NVIDIA GeForce RTX 4090/PCIe/SSE2 (4.6.0 NVIDIA 535.104.05)  

Hardware Information
 Memory: 61 Gb
 Cores: 32
 Swap: /tmp
Comment 1 Ralek Kolemios 2023-10-07 20:43:09 UTC
Today I discovered this also applies if you switch frames in an animation. The first stroke lacks pen pressure regardless of if there is a filter layer involved.