Vector selection tool leaves behind pixel outline in 5.2.3

When I use selection tools and it is set to vector type then it leaks pixels, same happens when I enable anti aliasing on pixel type. However, the rectangle selection tool works great and leaves no pixels behind in both modes. Is this supposed to happen or is it a bug?

Short video showing what I mean:

It would be interesting to see a screenshot with your chosen settings in the Tool Options Docker, maybe that can reveal the reason why it happens to you. And that antialiasing leaves “tracks” behind is possible for my understanding, it tries to smoothen the cut-out result and may leave pixels in place, but I may understand the way it works wrong.

Michelist

As I understand it, the situation is as follows:

When you make a vector object, what you see on the canvas is a raster projection of the vector object and that projection has a small and fixed amount of anti-aliasing applied.
A vector selection is a selection mask that is made by using the raster projection of the vector object that was used to create it. Hence, the selection mask has anti-aliased edges.

If you make a vector rectangle with rounded corners or mitred corners, you will see anti-aliasing on them. Similarly if you rotate a rectangle so that its edges are not horizontal/vertical then the edges will have anti-aliasing on them.
A vector selection that has been rotated by manipulating the selection mask will have anti-aliased edges.

The advantage of vector selections is that you can use vector editing tools to modify the shape of the selection because the mask is a raster projection of the underlying vector objects and those objects can be vector-edited and the selection mask is updated in time with that.

One way to workaround this is to make the vector selection, go to the selection mask and do any shape editing you want to do, then use Filter → Adjust → Threshold to get rid of the ‘softness’ of the edges.
That works but it will convert the selection mask into a raster selection mask.

Another workaround is to paint on a raster selection mask itself using a pixel art brush with freehand painting or the various shape painting tools.
Then the selection will have ‘hard’ edges.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.