Alpha channel for decoration plugin not consistent
Describe the bug It seems that the alpha channel is for the decoration plugin does not work as it should
To Reproduce Steps to reproduce the behavior:
- For example, set the color to #FFFFFF00
- And observe how the decoration color is not transparent.
Expected behavior The behavior should be consistent with other apps - an alpha value of 00 should always be transparent, 80 half transparent etc.
Screenshots or stacktrace
For example - take the color value #FF000000 - it is expected to be fully transparent, however, it looks like this:

In a more practical example, this makes it completely impossible to use a light mode decoration with transparency. The following screenshot uses the value #FFFFFF80

Wayfire version 0.8.0-35ff4fda (Aug 10 2021, branch 'HEAD')
Yeah, I see what you mean. In general, buffers and colors in Wayfire have premultiplied alpha, but I guess users expect not premultiplied alpha.
For a quick workaround, try multiplying the RGB values by the alpha value, it should give you the effect you want.
To fix this permanently, we can do this multiplication in the rendering code.