Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-282

Common surface transfer functions incorrect with respect to alpha channel

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.9.12-incubating
    • Fix Version/s: 0.9.13-incubating
    • Component/s: guacamole-server
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mike.jumper Michael Jumper
                Reporter:
                mike.jumper Michael Jumper
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: