Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RDP Client: screen turns white after a resize event - DOMException: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The source has been detached #42349

Closed
uedvt359 opened this issue Jun 4, 2024 · 4 comments

Comments

@uedvt359
Copy link

uedvt359 commented Jun 4, 2024

Expected behavior:

the session should continue to work.

Current behavior:

When alt-tabbing, I sometimes get a resolution change of +/- 1px. Sometimes, this causes the following exception in the devtools console:

DOMException: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': The source has been detached

then, the screen turns white and the session needs to be disconnected (using the "..." menu) and restarted to work again. This is shown in the devtools (chrome 125 for windows):

image

I don't have a screenshot ready, but firefox shows a slightly different error message: it complains that width and height are invalid (again for putImageData' on 'CanvasRenderingContext2D)

this may or may not be related to #42006, which i reported earlier.

Bug details:

  • Teleport version: 15.3.715.3.5
  • Recreation steps
  • Debug logs
@zmb3
Copy link
Collaborator

zmb3 commented Jun 4, 2024

This should have been fixed by #41492

@uedvt359
Copy link
Author

uedvt359 commented Jun 4, 2024

apologies, i should have checked the latest version first (i didn't at first, as i did not find anything relevant in the changelog). i upgraded to 15.4.0 and will close this ticket, unless it manifests again. thank you for your quick response.

@uedvt359 uedvt359 closed this as completed Jun 4, 2024
@zmb3
Copy link
Collaborator

zmb3 commented Jun 4, 2024

Well, the fix was in 15.3.6, so if you are still seeing it on 15.3.7 then it's an incomplete fix. I'll reopen this so the team can investigate.

cc @probakowski @ibeckermayer

@zmb3 zmb3 reopened this Jun 4, 2024
@uedvt359
Copy link
Author

uedvt359 commented Jun 4, 2024

i re-checked which teleport version i was running, and it turns out it was 15.3.5. i was switching back and forth between versions, and must have accidentally stayed on an older release. sorry - i should have noticed this before.

@zmb3 zmb3 closed this as completed Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants