Bug 396200 - Tool goes to Normal blending mode on startup
Summary: Tool goes to Normal blending mode on startup
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Usability (other bugs)
Version First Reported In: 4.1.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-05 11:48 UTC by Jordan Ferrazza
Modified: 2019-05-09 14:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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