Bug 359859

Summary: Selection tool imprecise when disabling anti-aliasing
Product: [Applications] krita Reporter: Andrej <andrej.elbers>
Component: Tools/SelectionAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: griffinvalley, halla
Priority: NOR    
Version: 3.0 Alpha   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Attachments: set1
sel2.png

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.