Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-9670

TiAPI: Anvil: Default value of TiWindow.orientation should not be undefined

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Won't Fix
    • Affects Version/s: Release 2.1.0
    • Fix Version/s: None
    • Component/s: TiAPI
    • Environment:

      iOS

      Description

      Test cases:
      1. Anvil: start --suite=ui/ui --test=windowOrientation
      2. App test:

      var w = Ti.UI.createWindow();
      Ti.API.info("w.orientation="+w.orientation);
      Ti.API.info("should be one of "+[Ti.UI.PORTRAIT, Ti.UI.LANDSCAPE_LEFT]);
      

      Expected result:

      [INFO] w.orientation=1 or 4
      [INFO] should be one of 1,4
      

      Actual result:

      [INFO] w.orientation=undefined
      [INFO] should be one of 1,4
      

        Attachments

          Activity

            People

            • Assignee:
              emerriman Eric Merriman
              Reporter:
              mstepanov Max Stepanov
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-13813
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration