You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the events data which I got from recorder data.json
Testcase Gist URL
No response
Additional Information
I found something. These continuous commands are split into many events. If I put these commands in one event , It works well all the time. I hope this can help you.
The text was updated successfully, but these errors were encountered:
Great work;
So it looks like the chain of canvas/webgl commands is splitting across something that should be atomic?
@Juice10 the command argument application is async and promise awaits all commands in an event.
Is it possible that commands from a subsequent event need to await execution of the prior event?
@eoghanmurray you're referring to the following code, right? I might have another example where we're running into this with text being written along with an image on a canvas, with the text being occluded by the image.
Preflight Checklist
What package is this bug report for?
rrweb-player
Version
1.0.0-alpha.4
Expected Behavior
The correct one should be like this:
![1715930506314](https://private-user-images.githubusercontent.com/15229255/331501127-2c511d3a-aabb-4dff-96f3-d915c4707e19.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0Njg3NTMsIm5iZiI6MTcyNDQ2ODQ1MywicGF0aCI6Ii8xNTIyOTI1NS8zMzE1MDExMjctMmM1MTFkM2EtYWFiYi00ZGZmLTk2ZjMtZDkxNWM0NzA3ZTE5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI0VDAzMDA1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI1MzQyMWYzZWFmMzM2MmE5NWU0ZjNkMzQxOTBlMjFhNzMxMDJlYzY4NTllOWRiZDFlNTZiYTM0ZmU2NjdlZTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.wyb8AsOu-moZ0eU0t5jyn-Xg6i7YNmL6Bboc7b_MjkE)
Actual Behavior
But I got this one sometime:
![image](https://private-user-images.githubusercontent.com/15229255/331493933-815daf25-ff7f-475c-99e9-055c3a246e4a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0Njg3NTMsIm5iZiI6MTcyNDQ2ODQ1MywicGF0aCI6Ii8xNTIyOTI1NS8zMzE0OTM5MzMtODE1ZGFmMjUtZmY3Zi00NzVjLTk5ZTktMDU1YzNhMjQ2ZTRhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI0VDAzMDA1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUxMDYxNWJkMDEyOGUxOTY1MDhlNjI1NmU0NmMyMDU1ZjAzYTdiNDUzOWM5ZWIwMTJmMTBlYTdjMzgxYzAxMzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.O9QSsmFXe3SYTHhiZTIqHmCepopy5pUFyNxzsIPpPFs)
Are there any asynchronous problems? It works well sometime. Actually the events data is same in the both cases
Steps to Reproduce
the code in recorder:
the code in player:
the events data which I got from recorder
data.json
Testcase Gist URL
No response
Additional Information
I found something. These continuous commands are split into many events. If I put these commands in one event , It works well all the time. I hope this can help you.
![image](https://private-user-images.githubusercontent.com/15229255/331497922-25328820-4562-4f44-b982-56612d7abecc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0Njg3NTMsIm5iZiI6MTcyNDQ2ODQ1MywicGF0aCI6Ii8xNTIyOTI1NS8zMzE0OTc5MjItMjUzMjg4MjAtNDU2Mi00ZjQ0LWI5ODItNTY2MTJkN2FiZWNjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI0VDAzMDA1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQyYWNmN2MwYWY0MWUxNWQwMDVjNmE5ZDkyODZhYzgwNWM5MjY5ZGRiNjFkYzI4NTU2ZjlhY2EyZTM3OTEyZjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.QcGxvBN4rmyBBwl1-2eTbxjUuAWzIdsiwuTvWI_DZKs)
The text was updated successfully, but these errors were encountered: