Bug 446193 - Colouring bug in vector tool/layer
Summary: Colouring bug in vector tool/layer
Status: RESOLVED NOT A BUG
Alias: None
Product: krita
Classification: Applications
Component: Tools/Vector (show other bugs)
Version: 5.0.0-beta2
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-28 11:18 UTC by Jade_NL
Modified: 2021-11-28 13:10 UTC (History)
2 users (show)

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


Attachments
short video showing this behaviour (1.34 MB, video/mp4)
2021-11-28 11:18 UTC, Jade_NL
Details
KritaUsageLog.txt (14.96 KB, text/plain)
2021-11-28 12:23 UTC, Jade_NL
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jade_NL 2021-11-28 11:18:44 UTC
Created attachment 144028 [details]
short video showing this behaviour

SUMMARY

Colouring the body and/or lines of a vector object isn't possible at the moment. The colours move towards another colour and eventually turn to black.

This also influences the Undo History functionality (when the amount of steps is larger then what the window can show). At times it is not possible to revert to a previous state due to what looks like a looping issue.

STEPS TO REPRODUCE

1. Create new document,
2. Add a Vector Layer,
3. Create shape with any one of the (vector) tools,
4. Select shape using Select Shape Tool,
5. In Tool Options go to the Line tab,
6. Select Solid Colour Fill and choose a colour,
7. Go to the Fill tab, select solid colour fill and choose a colour,
7a. See Result  A,
8. Go back to the Line tab and choose a different colour,
9. Go back and forth between Fill tab and Line tab,
9a. See result B.

OBSERVED RESULT

Result A:
The colour bar isn't showing the correct colour and certain parts of the interface are blinking between colours. Notably the Colour Selector(s) and the Background Colour Selector Icon and the Fill Gradients icon (in the Brushes and Stuff toolbar).

Result B:
Colour starts changing to a different (darker) colour and eventually turns black.

EXPECTED RESULT

Being able to set a fixed line or body colour.

SOFTWARE/OS VERSIONS

* OS                : Linux (kernel 5.9.15-1)
* Distro            : Debian Buster (rel. 10.11)
* Graphics driver   : nvidia (460.39)
* OpenCL installed  : Yes (nvidia-opencl-common 460.39-1)
* OpenCL activated  : Yes
* Qt                : 5.11.3

ADDITIONAL INFORMATION

I see this behaviour in 5 Beta(1), 5 Beta2 and the latest build (5771a7d/#1315). 
This does not happen in Krita 4.4.8
All of these are the appimages as offered by the Krita team.
Comment 1 wolthera 2021-11-28 11:37:38 UTC
Can't reproduce this on Version: 5.0.0-beta2 (git fcbb682), which is my local dev-build. Let's see if it happens on the appimage, in which case it might be a bug from the Qt 5.12 upgrade.
Comment 2 wolthera 2021-11-28 11:50:19 UTC
Hm... mysterious. I do not get the weird updating cycling thing that happens in the video. Maybe someone with a debian system needs to try this out? (Or perhaps, I have intel graphics, and the trouble seems to happen on an nvidia device... should have nothing to do with anything, but...)

Krita system log from the appimage:
-----------------------------------------------------

 Krita

 Version: 5.0.0-beta2 (git 5771a7d)
 Languages: en_US, en, en_GB, en, nl, en_US, en
 Hidpi: false

Qt

  Version (compiled): 5.12.12
  Version (loaded): 5.12.12

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 5.4.0-88-generic
  Pretty Productname: KDE neon User Edition 5.22
  Product Type: neon
  Product Version: 20.04
  Desktop: KDE
Comment 3 Halla Rempt 2021-11-28 11:56:52 UTC
The reporter is also using appimages.
Comment 4 Jade_NL 2021-11-28 12:23:52 UTC
Created attachment 144032 [details]
KritaUsageLog.txt

Although I don't see anything that triggers me in the terminal, maybe this will help.
Comment 5 Jade_NL 2021-11-28 12:26:23 UTC
And some additional info:

* Desktop       : Xfce 4.12
* CPU              : AMD Ryzen 5 3600 6-Core Processor
* GPU              : GeForce RTX 2060 SUPER 7979 MiB

No Hidpi (that I know of).
Comment 6 Jade_NL 2021-11-28 12:40:37 UTC
I found the problem after turning off/on bundles and add-ons and it is, sort of, external:

Pigment.O - https://github.com/EyeOdin/Pigment.O

If I disable this one the problem is gone.

Seems to me that this isn't a core Krita issue, so this one can probably be closed. Not sure if I need to do this, but I'll put up the RESOLVED tag.

Sorry for wasting your time.
Comment 7 Halla Rempt 2021-11-28 13:10:26 UTC
Thanks for checking so thoroughly!