You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Mike Jumper (Jira)" <ji...@apache.org> on 2025/01/15 20:03:00 UTC
[jira] [Assigned] (GUACAMOLE-2018) Session recording playback may fail in drawImage() if width or height are zero
[ https://issues.apache.org/jira/browse/GUACAMOLE-2018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Jumper reassigned GUACAMOLE-2018:
--------------------------------------
Assignee: Mike Jumper
> 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
>
> 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)