#2483 closed defect (worksforme)
html5 scroll paint error and disconnection
Reported by: | Antoine Martin | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | major | Milestone: | 4.1 |
Component: | html5 | Version: | 3.0.x |
Keywords: | Cc: |
Description
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
Change History (5)
comment:1 Changed 16 months ago by
Status: | new → assigned |
---|---|
Summary: | html5 scroll paint error → html5 scroll paint error and disconnection |
comment:2 Changed 16 months ago by
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:
swap_buffers
must be called at least once before we can use scroll paint- maybe the paint exception handler is buggy?
comment:4 Changed 5 months ago by
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
comment:5 Changed 6 weeks ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2483
Note: See
TracTickets for help on using
tickets.
#2487 closed as duplicate of this bug.