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

Some pen strokes result in large, blurred circles on iPhone Safari #642

Closed
RexScratch opened this issue Jun 15, 2020 · 6 comments · Fixed by #667
Closed

Some pen strokes result in large, blurred circles on iPhone Safari #642

RexScratch opened this issue Jun 15, 2020 · 6 comments · Fixed by #667

Comments

@RexScratch
Copy link

Expected Behavior

Pen strokes should not result in large, blurred circles.

Example:
IMG_0032

Actual Behavior

Pen strokes often result in large, blurred circles.

Example:
IMG_1562

Steps to Reproduce

On an iPhone, run one of the following projects on the project page:

This doesn’t seem to be an issue limited to a few specific projects; most projects using the pen should produce this issue.

Operating System and Browser

iPhone XS iOS 13.5.1 Safari

Cannot reproduce on a 2019 iPad on iOS 13.5.1

@apple502j
Copy link

KimiruHamiru said it happens when the pen is down while the sprite x or y is not integer: see https://scratch.mit.edu/discuss/post/4123687/
repro project: https://scratch.mit.edu/projects/404686504/
on iPad:
image

@RexScratch
Copy link
Author

KimiruHamiru said it happens when the pen is down while the sprite x or y is not integer: see https://scratch.mit.edu/discuss/post/4123687/
repro project: https://scratch.mit.edu/projects/404686504/
on iPad:
image

(Using Google Translate)

They mentioned using a iPad Mini 5, which is interesting because I couldn’t reproduce this issue on a 2019 iPad. The iPhone XS and iPad Mini 5 both have the A12 Bionic SoC, whereas the 2019 iPad has the A10 Fusion SoC.

@RexScratch
Copy link
Author

RexScratch commented Jun 15, 2020

It does seem that precision plays a role, since not all non-integer coordinates cause this issue:
https://llk.github.io/scratch-gui/develop/#404937682

When the x-coordinate is offset by -0.25 or -0.5, the issue doesn’t occur. However, when the x-coordinate is offset by -0.1, the issue does occur.

@fsih
Copy link
Contributor

fsih commented Jun 15, 2020

It's also reproing on iPhone 8, but not on iPad mini 4

@MineUp1000
Copy link

MineUp1000 commented Jul 12, 2020

K, I noticed this glitch occurred recently and made a forum about it, but thankfully I was given this link!!!
(Thanks @apple502j). I think that this glitch occurred at the same time the Fullscreen Glitch Occurred

EDIT

This link, which I created myself is a test, which proves that the costume matters. (Ignore this)

I have made a new test, to see which fractions give the most glitches:
and this is thus result.

@RexScratch
Copy link
Author

K, I noticed this glitch occurred recently and made a forum about it, but thankfully I was given this link!!!
(Thanks @apple502j). I think that this glitch occurred at the same time the Fullscreen Glitch Occurred

EDIT

This link, which I created myself is a test, which proves that the costume matters.

The only thing that test shows about costumes is that costumes can affect the sprite's position, which is already well-known.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment