Bug 337835

Summary: Freeze when layer opacity is changed while a filter preview is enabled
Product: [Applications] krita Reporter: omiya <tokyogeometry>
Component: FiltersAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: dimula73, halla
Priority: NOR    
Version: 2.8.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description omiya 2014-07-27 12:42:05 UTC
Krita stops responding when layer opacity is changed while a filter preview is enabled.
I confirmed it in the following filters so far: Dodge, Levels, Color Adjustment Curves, Gaussian Blur and Pixelize.

Steps to reproduce:
  1. Prepare an image to apply a filter to.
  2. Open a filter dialog.
  3. Check the 'Preview' checkbox in the dialog.
  4. Change layer opacity via the Layers docker while the preview is shown.
Comment 1 omiya 2014-07-27 12:53:59 UTC
I have found this is probably a duplicate of https://bugs.kde.org/show_bug.cgi?id=334982 .
Comment 2 Dmitry Kazakov 2014-07-30 14:11:02 UTC
Yes the bug is fixed in master, but we should backport the fix to 2.8
Comment 3 Halla Rempt 2014-07-30 14:13:57 UTC
Which commit as the fix?
Comment 4 Dmitry Kazakov 2014-07-31 11:51:58 UTC
Git commit 1c122e86baad2fff7cfee3276791022c5f6db2d6 by Dmitry Kazakov.
Committed on 31/07/2014 at 11:51.
Pushed by dkazakov into branch 'calligra/2.8'.

Fix a hang-up when opening the filter dialog twice

Or running any stroke-based action while having the dialog open
Related: bug 334982

Conflicts:
	krita/ui/dialogs/kis_dlg_filter.cpp

Backported for:

M  +6    -3    krita/ui/dialogs/kis_dlg_filter.cpp
M  +2    -3    krita/ui/dialogs/kis_dlg_filter.h
M  +26   -0    krita/ui/kis_filter_manager.cc
M  +3    -0    krita/ui/kis_filter_manager.h

http://commits.kde.org/calligra/1c122e86baad2fff7cfee3276791022c5f6db2d6