Bug 353816 - garbage values in feConvolveMatrix kernel when size increased
Summary: garbage values in feConvolveMatrix kernel when size increased
Status: RESOLVED FIXED
Alias: None
Product: karbon
Classification: Applications
Component: general (show other bugs)
Version: 3.0 Alpha
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Jan Hambrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-12 08:12 UTC by Paul
Modified: 2016-11-20 19:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul 2015-10-12 08:12:35 UTC
Adding a Convolve Matrix effect to an object then increasing the kernel size property causes there to be garbage values in the filter kernel.  Trying to change them result in other values in tthe filter changing or eventually the application crashing.

Reproducible: Always

Steps to Reproduce:
1. Create an object of some sort
2. Select Filter Effects Editing tool
3. Click View and Edit Filter
4. Select Convolve Matrix
5. Click Add Effect to Current Filter Stack
6. Select feConvolveMatrix
7. Increase Kernel Size
8. Click Edit Kernel

Actual Results:  
Various fields in the kernel will have nonsense values, modifying them may change other fields or crash the application.

Expected Results:  
Fields initialized with some reasonable values, not crashing.

Seen also in 2.8.5 (Gentoo) and 2.9.6 (Netrunner Linux VM).
Comment 1 Paul 2015-10-12 08:16:35 UTC
Forgot to say, the latest revision I tested on was 537ff7cce45fe045ff9774033ade5d6c58f334ef.
Comment 2 Anthony Fieroni 2016-11-20 04:15:19 UTC
Git commit 9d8146e05b96ba8245816a06e087f1cc88af2a2e by Anthony Fieroni.
Committed on 20/11/2016 at 04:13.
Pushed by anthonyfieroni into branch 'master'.

[shapefiltereffects] Update ControlMatrixEffect kernel accordingly to its order.
+ Ability to save kernel changes

REVIEW: 129435

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

M  +17   -0    plugins/shapefiltereffects/ConvolveMatrixEffectConfigWidget.cpp

http://commits.kde.org/calligra/9d8146e05b96ba8245816a06e087f1cc88af2a2e