Summary: | You cannot draw with (semi)transparent color, only fill | ||
---|---|---|---|
Product: | [Applications] kolourpaint | Reporter: | Kai Uwe Broulik <KaiUweBroulik2> |
Component: | general | Assignee: | kolourpaint-support |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | cfeck, john.kizer, kde, luke-jr+kdebugs, martin, tiposchi, woshilinmanfu+kde |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Kai Uwe Broulik
2011-02-22 12:38:58 UTC
Yes, that's correct. Since kolourpaint now supports true transparency, a color with an alpha channel will be blended over the existing pixels. This also leads to the fact that a complete transparent color is simply not visible and therefore you can not "rub out" pixels by drawing with the full transparent color. I checked this with gimp and it seems it does it in the same way. So for now you can only flood-fill areas with full transparent color, handled in a separate way. The issue Kai mentions is a different. The alpha value is ignored when using the brush tool, while it works with the line tool. I see, sorry. Yes, he's right. I'll have a look. Actually, it is more complicated. If you click once with a large brush, without moving the mouse, you can see that it does respect the alpha channel. The issue is that KolourPaint draws with the "brush" multiple times, so that when you draw a stroke with it, it saturates the canvas, despite it having transparency. It probably could cache the drawn shape (QPolygon?), and process it similar to the line tool. Regarding the issue Martin mentioned in comment #1, it maybe is possible to add a selector for the compositing mode (Source vs. SourceOver). But I feared that allowing transparency would result in more requests, up to the point where people should rather use Krita instead of KolourPaint. If this issue isn't easy to solve, it might actually really be a "wontfix". Thank you to all the devs who have kindly volunteered their time to make KolourPaint. This bug is still present in KolourPaint 21.12.3. I just wanted to change four pixels from grey to transparent but I had to use the flood-fill to do it. Fortunately there were no adjacent pixels of the same colour. But if there had been, I would not have been able to complete this relatively simple task with KolourPaint. Confirmed also in 23.04.3 *** Bug 498807 has been marked as a duplicate of this bug. *** Moving back to Confirmed status as I don't believe the original work that led to its status moving to Assigned is likely still active. |