Bug 404201 - Brush tool glitches, possibly related to tool switching
Summary: Brush tool glitches, possibly related to tool switching
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: Tools (show other bugs)
Version: git master (please specify the git hash!)
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-11 13:55 UTC by Storm Engineer
Modified: 2019-05-08 04:33 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Storm Engineer 2019-02-11 13:55:46 UTC
Built master today, and now experiencing glitches in the brush tool. I have found two ways to trigger glitches. I don't know if these are related issues, but they both appeared after my latest rebuild.

git c5b490f is still good.



Glitch 1:
=====================

STEPS TO REPRODUCE
1. Use "Pick foreground color from current layer" (Ctrl + Alt + LMB)

OBSERVED RESULT
The color pick preview will appear transparent instead of solid. After this a textured brush will paint with the texture inverted (paint where it shouldn't, and vice versa)

Color picking normally using Ctrl + LMB works properly.



Glitch 2:
=====================

STEPS TO REPRODUCE
1. Move the cursor over the layers docker and use it, eg. hover until preview appears, click on layers etc.
2. Move cursor back over canvas so it switches back to brush tool

OBSERVED RESULT
One or more of these happens:
 - Normal mouse cursor will display over the brush preview
 - Brush won't paint
 - Brush gets frozen in place on the canvas while mouse cursor keeps moving
 - Canvas becomes unresponsive while the rest of the interface still works



Krita
  Version: 4.2.0-pre-alpha (git c5b490f)

Qt
  Version (compiled): 5.12.0
  Version (loaded): 5.12.0

OS Information
  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 4.20.6-arch1-1-ARCH
  Pretty Productname: Arch Linux
  Product Type: arch
  Product Version: unknown


OpenGL Info 
  Vendor:  NVIDIA Corporation 
  Renderer:  "GeForce GTX 750 Ti/PCIe/SSE2" 
  Version:  "4.6.0 NVIDIA 415.27" 
  Shading language:  4.60 NVIDIA 
  Requested format:  QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, 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>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 0, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CompatibilityProfile) 
     Version: 4.6
     Supports deprecated functions true 
     is OpenGL ES: false 

Hardware Information
 Memory: 15 Gb
 Cores: 8
 Swap: /tmp
Comment 1 Halla Rempt 2019-02-11 15:54:19 UTC
The problem is Qt 5.12 -- this has rewritten the linux input system, and now it's broken Krita.
Comment 2 wolthera 2019-04-08 14:53:17 UTC
Does this still happen in the latest master (appimage)? We've been trying to fix a bunch of tablet bugs lately.
Comment 3 Bug Janitor Service 2019-04-23 04:33:21 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2019-05-08 04:33:15 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!