Summary: | [FEATURE_PROJECT] Ability to cancel long-running background strokes | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Dmitry Kazakov <dimula73> |
Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | task | CC: | halla, raghu |
Priority: | NOR | ||
Version: | git master (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Dmitry Kazakov
2010-09-22 19:44:24 UTC
I think we're hitting a problem with flake here, where Esc means "switch to default tool". We can hijack Esc in our canvas -- that should work for this purpose. Note: users also want Esc to have the meaning "leave canvas only mode". In Photoshop and Gimp they use Tab for this purpose. Git commit 4bdb63c24abd18d5ca2e6cd8ffb7deab35f694fb by Boudewijn Rempt. Committed on 11/02/2012 at 13:34. Pushed by rempt into branch 'master'. Change default shortcut for show-canvas-only to Tab Conforming to other systems like GIMP and Photoshop Related: bug 281539, bug 293628 Still, we might have to disable this function for 2.4 if we cannot fix 293628. M +1 -1 krita/ui/kis_view2.cpp http://commits.kde.org/calligra/4bdb63c24abd18d5ca2e6cd8ffb7deab35f694fb Remaining broken tools are: UI: * assistant tool * crop Stroke: * fill tool (remove button next to progress bar?) * gradient (remove button next to progress bar?) Git commit 71c69adb0e900f9f1bf00778b5fbc6281259fd4a by Dmitry Kazakov. Committed on 04/06/2014 at 20:15. Pushed by dkazakov into branch 'progress-bar-reincarnated-kazakov'. Added an ability to cancel the currently running strokes! You can either press Esc key or press a red cross button which appears near the progress bar in the bottom. The currently executing stroke will be cancelled and all its work will be reverted. This patch will first go to 'progress-bar-reincarnated-kazakov' branch. Please test it for stability and usability please! CCMAIL:kimageshop@kde.org M +14 -1 krita/image/kis_image.cc M +7 -5 krita/image/kis_image.h M +12 -11 krita/image/kis_queues_progress_updater.cpp M +0 -1 krita/image/kis_queues_progress_updater.h M +5 -0 krita/image/kis_stroke.cpp M +1 -0 krita/image/kis_stroke_job.h M +28 -0 krita/image/kis_strokes_queue.cpp M +2 -0 krita/image/kis_strokes_queue.h M +10 -9 krita/image/kis_update_scheduler.cpp M +14 -1 krita/image/kis_update_scheduler.h M +7 -8 krita/image/tests/kis_queues_progress_updater_test.cpp M +36 -0 krita/image/tests/kis_stroke_test.cpp M +1 -0 krita/image/tests/kis_stroke_test.h M +29 -0 krita/image/tests/kis_strokes_queue_test.cpp M +1 -0 krita/image/tests/kis_strokes_queue_test.h M +37 -2 krita/image/tests/scheduler_utils.h M +2 -0 krita/ui/kis_view2.cpp M +2 -23 krita/ui/widgets/kis_progress_widget.cpp M +3 -0 krita/ui/widgets/kis_progress_widget.h http://commits.kde.org/calligra/71c69adb0e900f9f1bf00778b5fbc6281259fd4a This is a nice FEATURE_PROJECT for Krita. Just make it a task Ok, most of the long-running actions are cancellable now. If you think some action is not cancellable, please report a separate bug for it. |