Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10486] iOS: Popover orientation changes when camera is opened from a window which has fixed orientation

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-10-25T16:34:32.000+0000
Affected Version/sRelease 2.1.1
Fix Version/sSprint 2012-17 API, Release 3.1.0, 2012 Sprint 22 API, 2012 Sprint 22
ComponentsiOS
Labelsapi, module_popover, qe-review, qe-testadded
ReporterAnirudh Nagesh
AssigneeSabil Rahim
Created2012-08-17T15:57:32.000+0000
Updated2013-03-04T09:28:18.000+0000

Description

Run the sample app.js attached. 1. The window has fixed landscape orientation. 2. Click 'Show Camera' Button to open up the camera. 3. Rotate the device orientation to Portrait. 4. Press cancel on Camera or take a picture. 5. Now click the 'Show Popover' button. Actual Result: Popover displays in Portrait mode event the app is in landscape. Expected Result: Popover should display in Landscape mode Additional Testing instruction * Copy the code into app.js * Run on iPad device running 5.1 * Open the app in landscape. * Click on show Camera. * Rotate the device to portrait. * Rotate the device to upsidedown portrait.( this step is important, make sure you do it fast) * Click on cancel button while in the same orientation. * Click on show popover. * Check if the popover is displayed in the correct orientation Expected Result : Popover displays in the correct landscape mode in which the UI is currently oriented in .

Attachments

FileDateSize
app.js2012-08-17T15:57:32.000+0000661
iPad_Popover.png2012-09-27T20:21:16.000+000057663
SidewaysDialogBox-1.png2012-08-23T15:44:43.000+0000188991

Comments

  1. Cindy Kao 2012-08-22

    When is Sprint 2012-18 API?
  2. Olga Romero 2012-08-28

    Verified fix with: Titanium Studio, build: 2.1.2.201208201549 Titanium SDK: 2.2.0.v20120828153312 Bug still exists on: Titanium SDK: 2.1.2.v20120824144611 iPad3 4G 5.1.1
  3. Shyam Bhadauria 2012-08-29

    Environment used for verification - Tested with Titanium SDK: 2.2.0.v20120828153312 Tested with Titanium  Studio: 2.1.2.201208201549 Device - iPad 2 iOS 5.1 Machine OS - MAC 10.8
  4. Anshu Mittal 2012-09-03

    reopening to update labels
  5. Anirudh Nagesh 2012-09-27

    Reopening ticket as the issue is still reproducible. Test case: Same as above. Reproduction Steps: Rotate the device from one portrait to another without stopping at landscape mode. Popover can be seen in portrait. Have attached a screenshot of the issue.
  6. Anirudh Nagesh 2012-09-27

    Ticket re-opened
  7. Sabil Rahim 2012-10-11

    PR pending https://github.com/appcelerator/titanium_mobile/pull/3183
  8. Vishal Duggal 2012-10-31

    Zero out remaining hours
  9. Anshu Mittal 2013-03-04

    Tested with: SDK:3.1.0.v20130303194855 Studio: 3.1.0.201302252142 Device: iPad2(v 5.1)

JSON Source