| Summary: | Long delay to update canvas after deleting a layer | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | David REVOY <info> |
| Component: | Layer Stack | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | griffinvalley, halla |
| Priority: | NOR | Keywords: | release_blocker |
| Version First Reported In: | 3.0 Alpha | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/krita/2051a35e295c3a10e10b772aae301adf0ab1894c | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
David REVOY
2016-04-12 12:05:04 UTC
This behaviour is a side-effect of the update lag instantiated to increase speediness of creating and manipulating layers. Git commit 2051a35e295c3a10e10b772aae301adf0ab1894c by Dmitry Kazakov. Committed on 26/04/2016 at 13:58. Pushed by dkazakov into branch 'master'. Fix delay on removing/moving a layer Now the signal compressor has a special mode: FIRST_ACTIVE_POSTPONE_NEXT, in this mode it ensures that the first signal in emitted instantly, but the following signals are postponed until the flow of signals calms down to the specified timeout. In term of layer deletion it means: 1) If you remove a single layer, you'll see that result immediately. 2) If you press the remove button multiple times, you'll see the result only after you stop clicking the mouse button. Fixes T2301 M +4 -0 libs/image/kis_signal_compressor.cpp M +8 -0 libs/image/kis_signal_compressor.h M +12 -17 libs/ui/kis_node_juggler_compressed.cpp M +4 -1 libs/ui/kis_node_juggler_compressed.h M +1 -1 libs/ui/kis_node_manager.cpp http://commits.kde.org/krita/2051a35e295c3a10e10b772aae301adf0ab1894c |