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

Something strange about x, y positioning for certain screens #3900

Open
pikurasa opened this issue May 30, 2024 · 4 comments
Open

Something strange about x, y positioning for certain screens #3900

pikurasa opened this issue May 30, 2024 · 4 comments

Comments

@pikurasa
Copy link
Collaborator

I've run into this a few times.

Today, I ran into it with a classroom smart board. x and y were offset enough to cause issues for any projects that used "set x/y".

I've also seen something similar on laptops, which becomes evident for our projects that set the height based on pitch.

In terms of reproducibility, if you use dev tools, and short code that prints Cartesian and sets x/y to zero, you can get results like this:

Screenshot from 2024-05-30 10-28-02

@walterbender
Copy link
Member

Did you try refreshing your screen after switching over to the smart board? I can only reproduce the error if I change the size of my browser window and run the code w/o a refresh in between. If I refresh, the grid is properly configured.

@pikurasa
Copy link
Collaborator Author

I did not think to refresh...

@suryaanshah
Copy link

Hi!
I have looked into reproducing this issue and confirm that this is indeed present. I do not have a smart-board. I tested it with resizing the window a bit.

For convenience I am attaching a video file to this comment explaining my observations. As it may assist other "first time contributors" like myself while testing this and other issues on this repo.

I understand that this issue is old but indeed quite important for user-experience.

The first video is on the bug mentioned in this issue
https://github.com/user-attachments/assets/9c30660b-3f13-4bee-afe5-75f958cc0667

I'd now study this repo to figure out exactly where the bug is and provide updates on what I find and work on accordingly.

@walterbender
Copy link
Member

Hmm. Maybe we should refresh the grid on resize? Or at least when Play is hit?

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

3 participants