codefrau / SqueakJS

A Squeak Smalltalk VM in Javascript
https://squeak.js.org
MIT License
364 stars 75 forks source link

Custom pointer shapes not shown in Mac Safari #133

Closed codefrau closed 2 weeks ago

codefrau commented 2 years ago

E.g. hovering the mouse pointer over a window edge should show the resize arrows.

Still works in Chrome, does not work in Safari anymore. I see the hotspot jump, but the cursor shape does not change.

ccrraaiigg commented 2 years ago

Hm, strange, it still works for Caffeine (e.g., https://caffeine.js.org/spa ). Then again, I'm behind and haven't even done the ESM changes yet.

codefrau commented 2 years ago

You're right!

The only difference I see is that in Caffeine, you only use the canvas cursor (Squeak Form) for the temp cursors. Otherwise it's the default HTML cursor.

In SqueakJS we always use the canvas cursor.

I am not aware of anything changing in the code. I would suspect it's a Safari bug, but maybe we can find a workaround.

codefrau commented 9 months ago

It works in Safari Technology Preview Release 178 (Safari 17.0, WebKit 18617.1.6) ... let's hope it works in next Safari then.

codefrau commented 2 weeks ago

Appears to have resolved itself