Open xerz-one opened 1 year ago
Works for me – both on 106 and 108. I tried various images on squeak.js.org.
Where exactly do you see the problem?
So I tried debugging with ADB. First of all, after adding a breakpoint for canvas.ontouchstart
, touch.x
and touch.y
display correctly, and pinching for zoom behaves correctly as well, but the mouse remains stuck on the top left corner. I tried disabling addons and Enhanced Tracking Protection, but the behavior persisted. I then tried to create a clean install of Firefox 108.1.0 leaving all of the default settings (except for remote debugging) and going straight into squeak.js.org, and it also did not work.
The device is a Poco F3 running LineageOS for microG, build 19-20221201-microG-alioth.
Oh it's a phone! I tried with Firefox's touch emulation on desktop, and that does work.
The touch logic is pretty simple: https://github.com/codefrau/SqueakJS/blob/a947f96a3fdf7473582d6b359cadd89db96cea72/squeak.js#L459
Maybe add some debug logging?
When trying to run SqueakJS from the official website on Firefox 107.2.0, the virtual machine successfully executes, but the mouse pointer cannot be moved around, and instead touching only performs clicking at the same position.