Cut does not work as expected when background colour has transparency
This bug report was converted into a question: question #695016: Cut does not work as expected when background colour has transparency.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dibuja |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
Hi, thanks for the great project - a good alternative to MS paint is something people often ask for, and I wish I'd seen this earlier.
It seems that the implementation of Edit>Cut works like this:
1. copy the selection to the clipboard
2. draw a rectangle with both border and fill in the background colour over the selected area.
The results of this do not make sense when the background colour is either fully or partially transparent.
As an aside, I'm not convinced it makes the most sense to fill with the background colour when you cut (as opposed to deleting everything i.e. making it fully transparent), but I realise this is the traditional behaviour of programs like MS Paint. Assuming you are going to stick with this behaviour I think you need to insert an intermediate step:
1. copy the selection to the clipboard
2. make the selected area fully transparent
3. draw a rectangle in the background colour
Changed in dibuja: | |
status: | Opinion → Invalid |
Yes, I'm not quite satisfied with the current behavior. A better solution would be to have an option to fill with an opaque background color of fully transparent color.
If you need a transparent rectangle:
1. Set the foreground color transparency to 0 (click the foreground color button).
2. Flood fill the rectangle.