Bug 337835 - Freeze when layer opacity is changed while a filter preview is enabled
Summary: Freeze when layer opacity is changed while a filter preview is enabled
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Filters (show other bugs)
Version: 2.8.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-27 12:42 UTC by omiya
Modified: 2014-07-31 11:51 UTC (History)
2 users (show)

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


Attachments

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