Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Canvas not updating on Firefox Android

  • 3 பதிலளிப்புகள்
  • 11 இந்த பிரச்னைகள் உள்ளது
  • 1 view
  • Last reply by matheusbn

Hello,

I've just updated today both (Firefox and Firefox Beta) on my Android (Kit-Kat 4.4,2) and all my HTML5 games/demos it isn't working anymore on both mobile versions. On the Firefox for PC version (44.0.2) my games is still working .

If you open the demo attached on mobile, it will only update the CANVAS once and stops, on this demo I tried requestAnimation and setInterval without any luck, then I discovered that even the REFRESH isn't working for CANVAS.

The demo just displays the current date and inside the CANVAS it show the first date and stop, outside the canvas it's continuing updating correctly.

Finally the Native Browser and Chrome on the same mobile everything works.

Matheus.

Hello, I've just updated today both (Firefox and Firefox Beta) on my Android (Kit-Kat 4.4,2) and all my HTML5 games/demos it isn't working anymore on both mobile versions. On the Firefox for PC version (44.0.2) my games is still working . If you open the demo attached on mobile, it will only update the CANVAS once and stops, on this demo I tried requestAnimation and setInterval without any luck, then I discovered that even the REFRESH isn't working for CANVAS. The demo just displays the current date and inside the CANVAS it show the first date and stop, outside the canvas it's continuing updating correctly. Finally the Native Browser and Chrome on the same mobile everything works. Matheus.

All Replies (3)

I can't edit my post so this is the test that I wrote for the problem above:

http://www.mazeware.com/test.html

Matheus.

This seems to be a problem with hardware acceleration on certain devices. Your demo failed on my device, but works on my wife's one and both run the same Android and Firefox versions.

The demo works when I disable hardware acceleration. In about:config change gfx.canvas.azure.accelerated to false.

craigleat said

This seems to be a problem with hardware acceleration on certain devices. Your demo failed on my device, but works on my wife's one and both run the same Android and Firefox versions. The demo works when I disable hardware acceleration. In about:config change gfx.canvas.azure.accelerated to false.

Thank you very much for this craigleat. It solved the problem.

Matheus.