facebook

iPad portrait orientation error – FIX planned 1.2.2 update

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #318344 Reply

    mrsam
    Member

    Dear MB1,

    Potrait orientation did not rotate to actual potrait size after rotated from landscape position. Everything is working fine in Test Center but not in the actual iPad. I attached the captured images. Pls help. Tq

    Attachments:
    You must be logged in to view attached files.
    #318346 Reply

    support-michael
    Keymaster

    @mrsam
    Cool looking UI. Can you attach your design file (.mobi) to this thread or send it to me to investigate (support at genuitec dot com with title “mobione ipad portrait issue for wayne”)?

    I”m not saying that MobiOne does not have a bug. But from a quick look at the UI outline, the design might need more structure to work in both orientation. I typically see layouts like this for dual orientation:

    -navbar
    -panel1 (scroller enabled, resize properties configured to fill screen in both orientations)
    — children components
    – toolbar

    Also here is a doc that might be helpful: http://genuitec.com/mobile/docs/designingForLandscape/designingForLandscape.html

    #318377 Reply

    support-michael
    Keymaster

    @mrsam
    Thanks for sending me that example design file. I confirmed this is a bug on the iPad. We tracked it down to a difference in event timing on iOS that results in a non-deterministic race condition. On the iPad the race condition results in the layout not completing correctly. In the Test Center the emulator runs much quicker in most cases and results in the layout completing correctly. We have a fix for this in the up coming 1.2.2 release.

    I will send you a revised version of your design that simplifies the layout such that it will layout properly on the iPad.

    #318378 Reply

    mrsam
    Member

    Thanks for your prompted reply Wayne. Do you think I can use something like REFRESH PAGE using JScript on phoneui.postOrientationChange?

    Maybe in this home_custum.js

    /**
    * Notification that device orientation has changed.
    *
    * @param {String} newOrientation
    */
    phoneui.postOrientationChange = function(newOrientation) {

    refresh page JScript;

    }

    /**

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: iPad portrait orientation error – FIX planned 1.2.2 update

You must be logged in to post in the forum log in