Jump to content

Anyone seen this lovely Samsung stock browser bug?


rich
 Share

Recommended Posts

Anyone seen this happen before:

 

post-1-0-57502200-1417173828.jpg

 

Samsung S3 - all the latest updates applied - stock browser (naturally it works fine in Chrome on the same device)

 

What you're seeing is that the images that look absolutely fine, like the bee, shoes, eraser, etc are just normal PNGs being drawn to the canvas. The ones with "corruption" around the edge are being drawn from a hidden canvas object.

 

The same applies to the mess in the middle. The "normal" looking parts were drawn with native canvas graphics operations like arc and drawRect. The little rainbows were just drawImage from a PNG source. The corrupted mess is a drawImage from a canvas object.

 

Anyone have any ideas?!

Link to comment
Share on other sites

If you're after wild guesses, it looks like an alpha channel problem (since it's fringes around objects where the alpha is probably between 0 and 1, and I guess your pen-drawing code uses alpha to make a soft brush effect?). I'd suspect some kind of premultiplied alpha problem, or perhaps accidental use of a 1-bit alpha format.

 

Maybe check the canvas creation attributes. I don't know what will be supported but it might be worth turning on/off alpha, antialias, or trying to look up any non-standard ones Samsung might have added.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...