Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-36088

QML Canvas: The same javascript code looks different on the browser and on the qmlscene

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.2.0
    • Fix Version/s: None
    • Component/s: Quick: Other
    • Labels:

      Description

      Compare the attached two files. The other is a .qml file and the other is .html file. Both contain the same javascript code, but what is displayed is different.

      Expected:
      as a result both should show a "donut" shape

      Actual:
      as a result the QML Canvas shows a filled rectangle and the browser shows a donut. (Tested with Mozilla Firefox 26.0 on Ubuntu 12.04)

        Attachments

        1. Canvas.qml
          2 kB
        2. test.html
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            sletta Gunnar Sletta
            Reporter:
            qtcomsupport Qt Support
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes