| Summary: | Snapping for selection work a bit incorrectly | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Paul Geraskin <paulgeraskin> |
| Component: | Tools | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | halla, sven.langkamp |
| Priority: | NOR | ||
| Version First Reported In: | git master (please specify the git hash!) | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/calligra/b7f39267eb4df96db419c58a5d32217b6bf9aa1e | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Paul Geraskin
2014-05-21 15:06:00 UTC
Well... The cursor moves in screen pixels, the selection in image pixels, so if you start with the cursor a bit outside the center of a pixel, it'll look like this, I guess. Might also be a bit of a rounding error, though. In Gimp - rectangle selection snapping works fine. The same in PS. I hope it's possible to achive in Krita too. :) There is no rounding error. The behavior was intentionally changed into this behavior. See KisToolRectangleBase::createRect Git commit 2b8cd98cb8020cbe605a2e587c895d51190fb45b by Sven Langkamp. Committed on 03/07/2014 at 23:16. Pushed by langkamp into branch 'master'. round the corner point position of the rectangle base tool, otherwise there is some odd jumping M +2 -2 krita/ui/tool/kis_tool_rectangle_base.cpp http://commits.kde.org/calligra/2b8cd98cb8020cbe605a2e587c895d51190fb45b Git commit b7f39267eb4df96db419c58a5d32217b6bf9aa1e by Boudewijn Rempt, on behalf of Sven Langkamp. Committed on 03/07/2014 at 23:16. Pushed by rempt into branch 'calligra/2.8'. round the corner point position of the rectangle base tool, otherwise there is some odd jumping M +2 -2 krita/ui/tool/kis_tool_rectangle_base.cpp http://commits.kde.org/calligra/b7f39267eb4df96db419c58a5d32217b6bf9aa1e |