Bug 419976 - c)_Pencil-3_Large_4B brush glitches on second picture
Summary: c)_Pencil-3_Large_4B brush glitches on second picture
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Brush engines (other bugs)
Version First Reported In: 4.2.9
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-12 04:46 UTC by phangiang.sdm
Modified: 2024-11-19 13:54 UTC (History)
4 users (show)

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


Attachments
c)_Pencil-3_Large_4B brush on the second created picture (151.62 KB, image/jpeg)
2020-04-12 04:46 UTC, phangiang.sdm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description phangiang.sdm 2020-04-12 04:46:10 UTC
Created attachment 127458 [details]
c)_Pencil-3_Large_4B brush on the second created picture

SUMMARY
c)_Pencil-3_Large_4B brush only work on first created/opened canvas. When open or create another file, the brush texture becomes either transparent or black.

STEPS TO REPRODUCE
1. create a new picture
2. paint a stroke with the c)_Pencil-3_Large_4B brush, it should work at this point
3. create another picture
4. paint with c)_Pencil-3_Large_4B brush again, this time the brush texture becomes much stronger

OBSERVED RESULT
c)_Pencil-3_Large_4B brush only works on the first opened or created picture. From the second picture or later, the brush texture becomes stronger

EXPECTED RESULT
c)_Pencil-3_Large_4B should behave the same on all pictures

SOFTWARE/OS VERSIONS
Windows 10
Comment 1 Halla Rempt 2020-04-12 08:39:05 UTC
Yes, there is a difference, which is puzzling. On the terminal, I see output like 

Accessing uninitialized random source!
Accessing uninitialized random source!
Accessing uninitialized random source!
Accessing uninitialized random source!
Accessing uninitialized random source!
Accessing uninitialized random source!

Which might be related.
Comment 2 Rebecca Breu 2020-04-12 08:45:10 UTC
Ah, boud replied already while I was typing. Still, here are my observations:

What a weird bug, but I can confirm it on the 4.2.9 and 4.1.7  appimages on Debian. I was trying a couple of other brushes as well: The "h) Chalk Grainy" and "h) Chalk Soft" seem to have it as well — I can't paint as lightly on the second image as I can on the first one — and more brushes might be affected as well, but it's hard to tell with some of them.

It happens regardless of whether I have "Temporarily Save Tweaks to Presets" enabled or not, or if the images are displayed in windowed or tabbed mode, or whether I keep the first image open or not before I create the second one. From the second image onward that I create, I have the darker pencil.
Comment 3 Rebecca Breu 2020-04-12 08:57:35 UTC
On second thought, I'm not so sure about the chalk brushes anymore, or my ability to press down on the tablet at equal pressure. Fact is that the "Accessing uninitialized random source!" message only happens for a couple of brushes (I found a couple of pencils in addition to the 4b pencil) and it's not happening for the chalk brushes.
Comment 4 Ahab Greybeard 2020-04-12 09:54:17 UTC
Looking at c)_Pencil-3_Large_4B, without making any changes to its settings, if you make a new image and use it in the new image, the brush editor indicates that it has been altered. If you press the reload button it goes back to normal.
This happens every time you switch to the new image tab.

In the brush editor, if you look at Pattern -> Options, you see a large change in the Horizontal and Verical Offset slider values when you reload it.

This also happens if you're using 4.2.8.
Comment 5 Vitamorus 2024-11-19 13:54:52 UTC
Reproduced in 4.2.9, resolved in 5.3 pre-alpha!