SUMMARY In Krita 5, the outline drag previews for rectangle/ellipse tools and their corresponding selection tools will constantly stutter around into misleading positions as the user drags from one point to another, often resulting in imprecise results. STEPS TO REPRODUCE 1. Zoom in 800% for easier observance. 2. Select the Elliptical selection tool. 3. Drag on canvas, observe ellipse as you drag, observe result. OBSERVED RESULT The preview constantly jumps and the final result often doesn't match. EXPECTED RESULT The preview should be fully accurate with a matching result. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Debian sid KDE Plasma Version: 5.24.4 KDE Frameworks Version: 5.90.0 Qt Version: 5.12.12 (appimage)
Since this issue starts occurring as of Krita 5.0, marking this is a regression.
*** Bug 453130 has been marked as a duplicate of this bug. ***
The duplicate report was previously set to confirmed, so setting this report to confirmed.
The problem in the implementation of m_moveCenter functionality, which doesn't work well with rounding of the corners
Git commit 4f0137a120cb6cfdfaba19a3ea7d12537a1c32a4 by Dmitry Kazakov. Committed on 17/06/2022 at 14:49. Pushed by dkazakov into branch 'master'. Fix dizzy outline in rectangle and ellipse tools We don't have to apply `m_dragCenter` offset after adjusting the rectangle endpoints. M +1 -7 libs/ui/tool/kis_tool_rectangle_base.cpp https://invent.kde.org/graphics/krita/commit/4f0137a120cb6cfdfaba19a3ea7d12537a1c32a4
Git commit 82766ef025ded4b3345a67eed57bf0370980530f by Dmitry Kazakov. Committed on 17/06/2022 at 14:50. Pushed by dkazakov into branch 'krita/5.1'. Fix dizzy outline in rectangle and ellipse tools We don't have to apply `m_dragCenter` offset after adjusting the rectangle endpoints. M +1 -7 libs/ui/tool/kis_tool_rectangle_base.cpp https://invent.kde.org/graphics/krita/commit/82766ef025ded4b3345a67eed57bf0370980530f
Git commit 35e3e31afc3e0f879103a43ff8c6c57caa9c3fa8 by Xu Che, on behalf of Dmitry Kazakov. Committed on 21/06/2022 at 08:02. Pushed by shidao into branch 'xuche/T15555-pixel-perfect-ellipse-gsoc-2022'. Fix dizzy outline in rectangle and ellipse tools We don't have to apply `m_dragCenter` offset after adjusting the rectangle endpoints. M +1 -7 libs/ui/tool/kis_tool_rectangle_base.cpp https://invent.kde.org/graphics/krita/commit/35e3e31afc3e0f879103a43ff8c6c57caa9c3fa8