Bug 359859 - Selection tool imprecise when disabling anti-aliasing
Summary: Selection tool imprecise when disabling anti-aliasing
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: Tools/Selection (show other bugs)
Version: 3.0 Alpha
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-27 14:09 UTC by Andrej
Modified: 2021-09-26 17:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
set1 (62.51 KB, image/png)
2016-03-31 18:27 UTC, Halla Rempt
Details
sel2.png (52.45 KB, image/png)
2016-03-31 18:28 UTC, Halla Rempt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrej 2016-02-27 14:09:00 UTC
The selection tool behaves weird when working with non-antialiased circles at a high zoom levels.

https://dl.dropboxusercontent.com/u/5368378/Screenshots/sel1.PNG
https://dl.dropboxusercontent.com/u/5368378/Screenshots/sel2.PNG

The underlying circle has been drawn with the ellipse-selection-tool while holding the shift key to lock proportions.

The selection size was 14x14px, but the actual circle is 14px wide but 15px high.

As seen in sel1.png, after reselecting the circle with the rectangular selection tool, the size is displayed as 13x15px.

It is just weird because the tools seem to snap to pixels. The errors might result from using sub-pixels while selecting and rounding afterwards.


Reproducible: Always
Comment 1 Halla Rempt 2016-03-31 18:27:30 UTC
Created attachment 98179 [details]
set1
Comment 2 Halla Rempt 2016-03-31 18:28:44 UTC
Created attachment 98180 [details]
sel2.png
Comment 3 wolthera 2021-09-26 17:29:29 UTC
This seems to have been fixed in the meantime. For what it's worth, the quality of the selection improves even more when enabling snap->pixel.