Summary: | Request : prevent snap toggle to cancel/commit transform mode | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | stephen <tgdev001> |
Component: | Tools/Transform | Assignee: | Dmitry Kazakov <dimula73> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | dimula73 |
Priority: | NOR | ||
Version First Reported In: | 4.4.5 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | All | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/c3c97d104a6c423520dc5719594a5744d92cfc0c | Version Fixed In: | |
Sentry Crash Report: |
Description
stephen
2021-07-06 09:51:00 UTC
Git commit c61e01de8cfe3964884c290b79c399e2b4b4eb04 by Dmitry Kazakov. Committed on 13/07/2021 at 08:39. Pushed by dkazakov into branch 'master'. Do not resync decorations wrapper layer when snap-to-guide/grid changes Resyncing starts a stroke that interrupts the currently running user action (e.g. Transform Tool), which is not what the user expects. M +16 -2 libs/ui/KisDocument.cpp M +8 -0 libs/ui/canvas/kis_grid_config.cpp M +2 -0 libs/ui/canvas/kis_grid_config.h M +8 -0 libs/ui/canvas/kis_guides_config.cpp M +2 -0 libs/ui/canvas/kis_guides_config.h https://invent.kde.org/graphics/krita/commit/c61e01de8cfe3964884c290b79c399e2b4b4eb04 Git commit 8b99868c5b43c3f9b6943feff89e0165fbdbf050 by Dmitry Kazakov. Committed on 17/07/2021 at 07:23. Pushed by dkazakov into branch 'master'. Revert "Do not resync decorations wrapper layer when snap-to-guide/grid changes" This reverts commit c61e01de8cfe3964884c290b79c399e2b4b4eb04. M +2 -16 libs/ui/KisDocument.cpp M +0 -8 libs/ui/canvas/kis_grid_config.cpp M +0 -2 libs/ui/canvas/kis_grid_config.h M +0 -8 libs/ui/canvas/kis_guides_config.cpp M +0 -2 libs/ui/canvas/kis_guides_config.h https://invent.kde.org/graphics/krita/commit/8b99868c5b43c3f9b6943feff89e0165fbdbf050 Git commit c3c97d104a6c423520dc5719594a5744d92cfc0c by Dmitry Kazakov. Committed on 17/07/2021 at 07:25. Pushed by dkazakov into branch 'master'. Properly fix cancellation of the transform tool when changing guides config We can easily postpone the synchronization of the decorations layer. The layer itself doesn't store any decorations data. Instead, it just links to the document itself. So we can update this link whatever time we like later. Related: bug 439848 M +1 -0 libs/ui/KisDocument.cpp https://invent.kde.org/graphics/krita/commit/c3c97d104a6c423520dc5719594a5744d92cfc0c |