Bug 396136

Summary: Krita has encountered an internal error while resizing brush size in pixel brush engine Krita 4.1.0
Product: [Applications] krita Reporter: thmichels <thommichels>
Component: Brush enginesAssignee: Krita Bugs <krita-bugs-null>
Severity: crash CC: halla
Priority: NOR    
Version: 4.1.0   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In:

Description thmichels 2018-07-03 19:07:18 UTC
first some data about my system:

Krita 4.1.0 appimage
OS is OpenSuse Leap 42.3
AMD Quad Core 
Wacom Intuos 4 Tablet
Up to date Open GL Drivers

Description to reproduce bug exactly:
Open up Krita
Open a new or existing document
Choose a Brush (any Brush with Brush Tip option will do)
Open "Edit Brush Settings"
Click "Brush Tip" in the general section and click "Predefined"
Click (not drag) the "Size" slider. Size will change properly  
Drag the "Size" slider... Dialog box with error message pop's up 
Note: This error does not occur in Krita 4.0.4

Error message pop up:

Krita has encountered an internal error:

SAFE ASSERT (krita): 
"m_d->lastKnownValue.isNull() || result == m_d->lastKnownValue" 
in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/flake/KoDerivedResourceConverter.cpp, line 70

Link to forum thread in forum.kde.org:

I hope i could be of any help. If you need more information please drop me
something here.
Comment 1 Halla Rempt 2018-07-10 13:28:17 UTC

I can confirm the bug report.
Comment 2 Halla Rempt 2018-07-16 08:43:02 UTC
Fixed in 

commit 6aa6cd60d0be9638e5fc83266d77973ea89f6e73
Author: Boudewijn Rempt <boud@valdyas.org>
Date:   Tue Jul 10 15:32:38 2018 +0200

    Remove illogical assert