Jump to content

Incorrect selection handling


Recommended Posts

This is by design, and is not a bug. When you use an effect or switch to another tool we have to 'drop' the pixels that you have been moving around (when you start moving/rotating/stretching, the pixels are first 'lifted' off the layer). Otherwise they don't actually exist on a layer and would not be affected by the effect. This is also exactly the way that Photoshop operates.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

I don't understand what you mean by 'flattens the pixels.' We drop the pixels, in a metaphorical sense, so I'll assume that's what you're referring to (honestly it's an arbitrary term so it doesn't matter -- in the UI we use the term 'finish' as well).

When you select pixels, and then move them, we first 'lift' the pixels and erase that part of the layer. As you are moving, rotating, or resizing the selected area, the pixels don't actually "exist" in the image that you are working on. Only the Move Selected Pixels tool even knows about the existence of those pixels. It is a bit of smoke and mirrors where we make it appear like it is still part of the image. In truth, it is not part of the image again until the pixels are 'dropped' (you'll see "Finish Pixels" in the History window).

What then happens if you try to apply an effect, or do anything else other than what the tool provides for, before having finished or dropped the pixels is that we must first "drop" the pixels back on to the layer. Otherwise those pixels don't even exist from the point of view of anything else in the application (including the effect).

So this has the consequence of some counterintuitive results if you do something like: 1. select an area, 2. move that area with the Move Selected Pixels tool, 3. open an effect dialog, 4. cancel the effect dialog, 5. move the pixels again.

As a result of beginning step 3, the pixels have been dropped. You should be able to use the undo functionality to go back to before the "Finish Pixels" entry so as to get the pixels back in to the "lifted" state so that they don't leave transparent regions on the layer again.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...