Results 1 to 5 of 5

Thread: [2.2] Ext.Viewport.getOrientation() reports wrong value on BlackBerry 10

Threaded View

Previous Post Previous Post   Next Post Next Post
    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User interfasys's Avatar
    Join Date
    Mar 2011
    UK & Switzerland
    Vote Rating

    Default [2.2] Ext.Viewport.getOrientation() reports wrong value on BlackBerry 10

    Sencha Touch version tested:
    • 2.2
    OS tested against:
    • BlackBerry 10
    DOCTYPE tested against:
    • HTML5
    • Components like dataview don't listen to events like "orientationchange", so we're relying on the resize event to be able to trigger a test that will determine the device's orientation.
      Unfortunately, the value reported by Ext.Viewport.getOrientation() is not accurate on BlackBerry 10. It could be because the value is defined too late or because using resize is not the proper way of doing it.
    Steps to reproduce the problem:
    • Catch the resize event inside a dataview and print the value of Ext.Viewport.getOrientation() on-screen
    The result that was expected:
    • The message on screen should show the value matching the device's orientation
    The result that occurs instead:
    • It seems the value is always one step behind.
    Last edited by interfasys; 27 Feb 2013 at 12:31 PM. Reason: typo
    Olivier - interfaSys
    Developing custom solutions for BlackBerry 10 using Sencha Touch.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts