Michael Jumper created GUACAMOLE-282:
----------------------------------------
Summary: Common surface transfer functions incorrect with respect
to alpha channel
Key: GUACAMOLE-282
URL: https://issues.apache.org/jira/browse/GUACAMOLE-282
Project: Guacamole
Issue Type: Bug
Components: guacamole-server
Affects Versions: 0.9.12-incubating
Reporter: Michael Jumper
Priority: Critical
The common surface implementation used within guacamole-server is incorrect
with respect to binary transfer functions as of GUACAMOLE-188, which added
support for the alpha channel to the common surface.
Prior to GUACAMOLE-188, the common surface supported only the red, green, and
blue channels, thus simple binary operations correctly mirrored those of the
JavaScript Guacamole client.
After GUACAMOLE-188, the contents of a surface might have alpha channel values,
which are not supposed to be taken into account for all transfer functions. The
JavaScript client actually only pays attention to the alpha channel for the
following transfer functions:
* {{GUAC_TRANSFER_BINARY_SRC}} (alpha channel becomes a copy of source)
* {{GUAC_TRANSFER_BINARY_NSRC}} (alpha channel becomes a copy of source and is
NOT INVERTED)
In all other cases, the alpha channel of the destination is preserved.
The common surface must be modified to duplicate this behavior.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)