Closed Bug 1010076 Opened 10 years ago Closed 6 years ago

[Flatfish] Canvas stroke display fragmented with touch events

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: justin, Unassigned)

Details

Attachments

(1 file)

Attached image canvas.png
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0 (Beta/Release)
Build ID: 20140513030201

Steps to reproduce:

1. Clone sample code and install or load in web browser on device: https://github.com/dawsoju/touch-api-canvas
2. Open app and draw with finger in top left 600x300 pixels of screen.



Actual results:

Fragmented lines display in canvas on flatfish device.


Expected results:

A stroke which changes colors as painted should display.
I have set up an experiment using a similar application to compare between SVG and canvas rendering.

In the blog post linked below, you will find measurements showing that canvas is surprisingly slow to render compared to SVG. You will also find comparisons with Firefox for Android and Chrome on a Nexus 7 tablet. In Firefox OS on the Flatfish, it seems that the rendering engine records very few touch events when it has to repaint the canvas repeatedly, which results in a "fragmented line display".

http://guillaume.baierouge.fr/2014/08/08/gribouille-a-demo-hand-writing-drawing-application-for-firefox-os-on-the-flatfish-tablet/

The source code of the application is available here:
https://github.com/senshu/FxOS-Gribouille
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: