[ https://issues.apache.org/jira/browse/GUACAMOLE-2018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Jumper updated GUACAMOLE-2018: ----------------------------------- Fix Version/s: 1.6.1 > Session recording playback may fail in drawImage() if width or height are zero > ------------------------------------------------------------------------------ > > Key: GUACAMOLE-2018 > URL: https://issues.apache.org/jira/browse/GUACAMOLE-2018 > Project: Guacamole > Issue Type: Bug > Components: guacamole-common-js > Reporter: Mike Jumper > Assignee: Mike Jumper > Priority: Minor > Fix For: 1.6.1 > > > If a session recording contains a layer with a width or height of zero, > in-browser playback of that recording will fail with the following error: > {quote} > InvalidStateError: Failed to execute 'drawImage' on > 'CanvasRenderingContext2D': The image argument is a canvas element with a > width or height of 0. > {quote} > This is because we are converting each layer to canvases regardless of the > dimensions of those layers. There is a width/height check, but that check > only avoids making use of the canvas. The function to produce the canvas is > still called and fails. -- This message was sent by Atlassian Jira (v8.20.10#820010)