Bug 442198 - Krita 5.1.0 prealpha(git 8376871) : brush texture blending modes not behaving correctly
Summary: Krita 5.1.0 prealpha(git 8376871) : brush texture blending modes not behaving...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Brush engines (other bugs)
Version First Reported In: git master (please specify the git hash!)
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Dmitry Kazakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-08 23:13 UTC by stephen
Modified: 2021-12-13 06:45 UTC (History)
2 users (show)

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


Attachments
Screenshot of the result (776.46 KB, image/png)
2021-11-26 08:58 UTC, Dmitry Kazakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stephen 2021-09-08 23:13:14 UTC
SUMMARY
An issue about brush textures blending modes.

STEPS TO REPRODUCE
1. Open the brush settings panel
2. tick on pattern
3. select different texture blending modes and see how
they affect stroke rendering
4. Try painting as well

OBSERVED RESULT
The stroke doesn't seem changed at all according to the active blending mode. 

EXPECTED RESULT
The active brush pattern/texture blending modes should properly affect the rendering of the stroke.

SOFTWARE/OS VERSIONS
Windows 10 1909
Comment 1 wolthera 2021-09-09 12:24:34 UTC
Sorry, that seems to work here. I am afraid you'll have to include a picture.
Comment 3 Bug Janitor Service 2021-09-10 04:36:18 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 4 wolthera 2021-09-10 09:14:50 UTC
Strangely enough, that all works on the basic-5-size brush... Maybe it's a windows only problem?
Comment 5 wolthera 2021-09-10 09:29:13 UTC
No, we can't seem to reproduce it here on windows either... I am afraid that there's something else that is not mentioned in the report that's affecting it. Perhaps a super low spacing, or something else?
Comment 6 stephen 2021-09-10 09:53:04 UTC
(In reply to wolthera from comment #5)
> No, we can't seem to reproduce it here on windows either... I am afraid that
> there's something else that is not mentioned in the report that's affecting
> it. Perhaps a super low spacing, or something else?

Even with super low spacing, the blending modes change the stroke rendering quite well. Also, know that the brush used, with the same exact settings, renders and shows well in the v5.0.0 beta 1 version of Krita. No problems with this build. But for some reason, in 5.1.0 prealpha, two things went wrong : 
Incorrect/inactive texture blending mode, and switching back to previous brush preset seems to never work, because... the brush preset history is deactivated or something like that. I already created a bug report for the latter. Answer was : "worksforme" while it actually doesn't work here.

In any case, this is very weird.
Comment 7 Dmitry Kazakov 2021-11-26 08:58:50 UTC
Created attachment 143960 [details]
Screenshot of the result

Hi, Stephen!

Here are the strokes I get if I switch brush texture modes in master. Could you please check the current nightly builds, perhaps the problem has been fixed already? It might be that in the version you tested the texture was not applied at all due to a bug in the resource management system, which has been fixed in September-October.

Here is the link to the nightly builds:
https://binary-factory.kde.org/job/Krita_Nightly_Windows_Build/
Comment 8 Dmitry Kazakov 2021-11-26 08:59:09 UTC
I'll mark the bug as needsinfo for now.
Comment 9 Bug Janitor Service 2021-12-11 04:35:09 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 10 stephen 2021-12-13 06:36:34 UTC
(In reply to Dmitry Kazakov from comment #8)
> I'll mark the bug as needsinfo for now.

Hello Dmitry.
I can confirm that the bug has been fixed. 
Or if it's not the case, I simply had modified the resource sqlite file so that I wouldn't experience the bug(I let
Krita recreate a new one, without trying to fetch settings from older Krita version.)
So far, things work well with the brush texture blending modes.
Comment 11 Dmitry Kazakov 2021-12-13 06:45:53 UTC
Hi, Stephen!

Thanks a lot for the reply! There is high probability that the bug has been fixed indeed, we changed this code a lot in September-October.