Launchpad has imported 6 comments from the remote bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=1157112.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2015-04-22T05:38:44+00:00 Basil Titovchenko wrote:

Created attachment 8595754
canvas-firefox.png

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 
Firefox/37.0
Build ID: 20150403141925

Steps to reproduce:

Ubuntu: 14.04.2 LTS (32bit and 64bit versions)
Firefox: Mozilla Firefox  for Ubuntu canonical - 1.0
Installed: 36.0.1+build2-0ubuntu0.14.04.1

Run this HTML in Firefox:
----------------------------
<!DOCTYPE html>
  <html>
  <head>
    <title>Ray Circle</title>
  </head>
  <body>
  <canvas height='640' width='640' id='example'>You should update your 
browser.</canvas>
  <script>
      var example = document.getElementById("example"),
          ctx     = example.getContext('2d'),
        PIdiv180 = Math.PI / 180,
        size = 480;

      ctx.beginPath();
      for (var i = 0; i < 360; i++) {
          ctx.moveTo(320, 320);
          ctx.lineTo(320 + Math.sin(i * PIdiv180) * 320, 320 + Math.cos(i * 
PIdiv180) * 320);
      }
      ctx.stroke();
  </script>
  </body>
  </html>
----------------------------


Actual results:

See attached file canvas-firefox.png


Expected results:

The same figure without artefacts.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1434404/comments/5

------------------------------------------------------------------------
On 2015-04-22T12:33:58+00:00 Alice0775-t wrote:

Created attachment 8595941
reporter's testcase

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1434404/comments/6

------------------------------------------------------------------------
On 2015-04-22T12:35:54+00:00 Alice0775-t wrote:

Reproduced on ubuntu since Firefox4.0

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1434404/comments/7

------------------------------------------------------------------------
On 2015-04-23T05:14:33+00:00 Alice0775-t wrote:

Regression window:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=2968d19b0165&tochange=29a6a85fab8e

Suspect: f236632a9747   Jeff Muizelaar — Bug 542605. Update cairo to
12d521df8acc483b2daa844d4f05dc2fe2765ba6. r=vlad,jwatt,bas

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1434404/comments/8

------------------------------------------------------------------------
On 2015-05-21T16:25:55+00:00 Bas-c wrote:

This is a very old regression, I don't think this is a high priority
sadly.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1434404/comments/9

------------------------------------------------------------------------
On 2018-01-10T06:55:35+00:00 Basil Titovchenko wrote:

Seems now it draws well in Firefox Quantum 57.0.4 (64-bit), Ubuntu 16.04

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1434404/comments/10


** Changed in: firefox
   Importance: Medium => Unknown

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1434404

Title:
  Canvas path rendering bug

Status in Mozilla Firefox:
  Confirmed
Status in firefox package in Ubuntu:
  Fix Released

Bug description:
  Ubuntu: 14.04.2 LTS (32bit and 64bit versions)

  Firefox: Mozilla Firefox  for Ubuntu canonical - 1.0
  Installed: 36.0.1+build2-0ubuntu0.14.04.1

  I wrote the simple script to draw the circle composed by lines from it
  center. In Ubuntu Firefox I've got some weird looking artefacts, while
  in other OSes or browsers all seems to be ok (I've tested Firefox,
  Opera and Chrome in Windows, Chrome and Opera in Ubuntu).

  To reproduce:
  -------------------

  1. Open source file circle360.html in Firefox on Ubuntu;
  2. Expected to see the correctly drawin picture;
  3. Instead I see the picture with drawing artefacts (look at attached picture 
canvas-firefox.png)

  Source file: circle360.html
  -------------------------------------
  <!DOCTYPE html>
  <html>
  <head>
    <title>Ray Circle</title>
  </head>
  <body>
  <canvas height='640' width='640' id='example'>You should update your 
browser.</canvas>
  <script>
      var example = document.getElementById("example"),
          ctx     = example.getContext('2d'),
        PIdiv180 = Math.PI / 180,
        size = 480;

      ctx.beginPath();
      for (var i = 0; i < 360; i++) {
          ctx.moveTo(320, 320);
          ctx.lineTo(320 + Math.sin(i * PIdiv180) * 320, 320 + Math.cos(i * 
PIdiv180) * 320);
      }
      ctx.stroke();
  </script>
  </body>
  </html>
  -------------------------------------

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1434404/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to