← Back to team overview

touch-packages team mailing list archive

[Bug 1362172] Re: [webapp-container] 2d context drawed to only first one canvas in one page

 

It seems the runtime get the right canvas object.
If I tested with console.log(document.getElementById("canvas1").getContext("2d")), I can get two canvasn objects.

** Attachment added: "2014-08-27 21:07:59 的螢幕擷圖.png"
   https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1362172/+attachment/4188292/+files/2014-08-27%2021%3A07%3A59%20%E7%9A%84%E8%9E%A2%E5%B9%95%E6%93%B7%E5%9C%96.png

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1362172

Title:
  [webapp-container] 2d context drawed to only first one canvas in one
  page

Status in “webbrowser-app” package in Ubuntu:
  New

Bug description:
  If there is more then one canvas on same page[1],
  the 2d context can only draw to first canvas element.

  [1] https://github.com/chihchun/ubuntuwebapp-
  twocanvas/blob/master/www/index.html#L11

  Tested on
  current build number: 7
  device name: mako
  channel: ubuntu-touch/ubuntu-rtm/14.09-proposed
  last update: 2014-08-26 11:30:09
  version version: 7
  version ubuntu: 20140826
  version device: 20140811.1

  Package version
  qml-module-qtwebkit:armhf	5.3.0+dfsg-1ubuntu2
  qtdeclarative5-ubuntu-web-plugin:armhf	0.23+14.10.20140819.1-0ubuntu1
  unity-webapps-qml	0.1+14.10.20140813-0ubuntu1
  webapp-container	0.23+14.10.20140819.1-0ubuntu1
  webbrowser-app	0.23+14.10.20140819.1-0ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1362172/+subscriptions


References