Bug 203589

Summary: Crash in the noise reduction tool when 'Threshold' equals zero.
Product: [Applications] digikam Reporter: Igor Krivenko <igor.s.krivenko>
Component: Plugin-Editor-NoiseReductionAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 1.0.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 1.0.0

Description Igor Krivenko 2009-08-12 18:07:23 UTC
Version:           1.0.0 beta 3 (using KDE 4.2.4)
Compiler:          gcc (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) 
OS:                Linux
Installed from:    Gentoo Packages

It's possible to set 'Threshold' parameter to zero in the noise reduction plugin. The crash can be reproduced by doing so and pushing 'Try' button (it doesn't occur with 'OK' button).

Perhaps, it would be better to set the lower limit of the threshold to a small positive number, because zero here is quite senseless.
Comment 1 caulier.gilles 2009-08-14 11:56:30 UTC
It's an easy file to solve. Somebody is volunteer ? Andi, Julien ?

Gilles Caulier
Comment 2 Andi Clemens 2009-08-14 12:39:13 UTC
Not crashing here, but I can change the minimum val to 0.01 for sure...
Comment 3 Andi Clemens 2009-08-14 12:43:25 UTC
SVN commit 1011324 by aclemens:

set the minimum value for the threshold to 0.01

BUG:203589

 M  +1 -1      noisereductiontool.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1011324