** Changed in: ubuntu-ui-toolkit
       Status: Fix Committed => Fix Released

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

Title:
  ReferenceErrors in OrientationHelper

Status in Ubuntu UI Toolkit:
  Fix Released
Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Fix Released

Bug description:
  Setting the orientationAngle to nonzero indirectly (either by a
  binding, or in the completed callback) triggers the rotation animation
  which references UbuntuAnimation.

  
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/OrientationHelper.qml:100:
 ReferenceError: window is not defined
  
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/OrientationHelper.qml:167:
 ReferenceError: UbuntuAnimation is not defined
  
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/OrientationHelper.qml:166:
 ReferenceError: UbuntuAnimation is not defined
  
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/OrientationHelper.qml:166:
 ReferenceError: UbuntuAnimation is not defined
  
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/OrientationHelper.qml:167:
 ReferenceError: UbuntuAnimation is not defined

  
  qml to reproduce:
  import QtQuick 2.0
  import Ubuntu.Components 0.1

  Rectangle {
        width: 400
        height: 400
        OrientationHelper {
                id: oh
                Rectangle {
                        anchors.fill:parent
                        color:"blue"
                }
        }

        Component.onCompleted: oh.orientationAngle = 90
  }

  This can be fixed by using a qualified import of UbuntuComponents

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1244631/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to