Xpra: Ticket #2483: html5 scroll paint error and disconnection

Caught this in my server log and the client got disconnected:

@http://192.168.2.100:10000/js/Window.js:1453:31
paint@http://192.168.2.100:10000/js/Window.js:1225:17
paint@http://192.168.2.100:10000/js/Window.js:1212:7
XpraClient.prototype._process_draw_queue@http://192.168.2.100:10000/js/Client.js:2657:7
XpraClient.prototype._process_draw@http://192.168.2.100:10000/js/Client.js:2571:7
XpraClient.prototype._route_packet@http://192.168.2.100:10000/js/Client.js:515:5
XpraProtocolWorkerHost.prototype.open/<@http://192.168.2.100:10000/js/Protocol.js:47:9
error painting scroll TypeError: Argument 1 of CanvasRenderingContext2D.drawImage could not be converted to any of: HTMLImageElement, SVGImageElement, HTMLCanvasElement, HTMLVideoElement, ImageBitmap.

client was running an xterm and gedit



Tue, 19 Nov 2019 01:41:08 GMT - Antoine Martin: status, summary changed

#2487 closed as duplicate of this bug.


Tue, 19 Nov 2019 02:35:04 GMT - Antoine Martin:

The line that causes the error is:

this.offscreen_canvas_ctx.drawImage(this.draw_canvas, sx, sy, sw, sh, sx+xdelta, sy+ydelta, sw, sh);

Two things to look into:


Thu, 19 Mar 2020 16:32:43 GMT - Antoine Martin: milestone changed

(not seen it since)


Sun, 04 Oct 2020 13:08:25 GMT - Antoine Martin: status changed; resolution set


Sat, 23 Jan 2021 05:52:32 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2483