Bug 396200

Summary: Tool goes to Normal blending mode on startup
Product: [Applications] krita Reporter: Jordan Ferrazza <jordanferrazza>
Component: UsabilityAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: halla
Priority: NOR    
Version First Reported In: 4.1.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jordan Ferrazza 2018-07-05 11:48:39 UTC
I have noticed that whatever tool is opened automatically at startup goes to Normal blend mode rather than whatever its blending mode is.
Comment 1 Jordan Ferrazza 2018-07-05 11:49:06 UTC
I mean brush.
Comment 2 Halla Rempt 2018-07-10 13:09:33 UTC
Hi Jordan,

Thank you for the report. I can confirm the issue. On setting the brush preset to the last used preset, the blending mode should be set to the brush preset's blending mode.
Comment 3 Halla Rempt 2019-05-09 14:42:44 UTC
Git commit c00099989c3467879f019a673870f154dfd5befe by Boudewijn Rempt.
Committed on 09/05/2019 at 14:42.
Pushed by rempt into branch 'master'.

Set the composite op to the one of the preset

If we restore the last used preset, there isn't a node yet, so
the composite op of the preset didn't get restored.

M  +2    -0    libs/ui/KisViewManager.cpp
M  +37   -31   libs/ui/kis_paintop_box.cc
M  +0    -1    libs/ui/kis_paintop_box.h

https://invent.kde.org/kde/krita/commit/c00099989c3467879f019a673870f154dfd5befe