Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9628] iOS: Orientation:Landscape to portrait transition for second time is not taking place

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2012-06-22T11:43:33.000+0000
Affected Version/sRelease 2.1.0
Fix Version/sn/a
ComponentsiOS
Labelsapi, qe-ios060112
ReporterShyam Bhadauria
AssigneeNeeraj Gupta
Created2012-06-19T04:17:13.000+0000
Updated2017-03-09T23:32:34.000+0000

Description

This is not a regression.It exists as far as 1.8.2 Scenario 1 Steps to reproduce 1) Keeping the device in portrait mode -> Navigate to KitchenSink:Phone:Orientation 2) Press 'set landscape' button 3) Press 'set portrait' button 4) Press 'set landscape' button 5) Press 'set portrait' button Expected result 1) Orientation app should be displayed in portrait mode with 1 label and 5 buttons 2) App should be displayed in landscape mode 3) App should be displayed in portrait mode 4) App should be displayed in landscape mode 5) App should be displayed in portrait mode Actual result 1) Orientation app is displayed with 1 label and 5 buttons 2) App is displayed in landscape mode 3) App is displayed in portrait mode 4) App is displayed in landscape mode 5) App remains in landscape mode Pressing 'Reset orientation' takes app to portrait mode and the above complete cycle could be repeated. Scenario 2 Steps to reproduce 1) Keeping the device in landscape mode -> Navigate to KitchenSink:Phone:Orientation 2) Press 'set portrait' button 3) Press 'set landscape' button 4) Press 'set portrait' button Expected result 1) Orientation app should be displayed in landscape mode with 1 label and 5 buttons 2) App should be displayed in portrait mode 3) App should be displayed in landscape mode 4) App should be displayed in portrait mode Actual result 1) Orientation app is displayed in landscape mode with 1 label and 5 buttons 2) App is displayed in portrait mode 3) App is displayed in landscape mode 4) App remains in landscape mode Pressing 'Reset orientation' and then pressing 'set portrait' takes app to portrait mode.

Comments

  1. Vishal Duggal 2012-06-22

    Related to Ti.UI.orientation property. Deprecated since 1.7.2. Will not fix
  2. Lee Morris 2017-03-09

    Closing ticket as invalid.

JSON Source