Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-542] Modal won't go into landscape

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:53:27.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.1.0
ComponentsiOS
Labelsn/a
ReporterNolan Wright
AssigneeBlain Hamon
Created2011-04-15T02:31:30.000+0000
Updated2011-04-17T01:53:27.000+0000

Description

Base UI => Window Standalone.

open modal, change orientation to portait (window allows for landscape_left and right, but changing the device orientation has no effect).

Comments

  1. Blain Hamon 2011-04-15

    Due to needs of changing the orientation before presenting a modal view (As to not interrupt the modal transition), the modal opening attachment is lost. Indeed, it's not really there to begin with, as opening a modal view opens it on the root Titanium View Controller, not by the tab/window that called it.

    As such, would it be acceptable that windows opened modally do not inherit the calling window's orientations, the same way that nonmodal (Yet non-tab-opened) windows also do not inherit the calling window's orientations?

  2. Nolan Wright 2011-04-15

    are you saying that modal windows should not inherit orientations of the window that opened them? if so, i agree. could i make this work by setting the orientationModes within a modal window

  3. Blain Hamon 2011-04-15

    Yes, that's what I mean. It currently still is broken, but the expected behavior would be that orientationModes on a modal window work as expected on any other opened window.

JSON Source