GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-10-25T16:34:32.000+0000 |
Affected Version/s | Release 2.1.1 |
Fix Version/s | Sprint 2012-17 API, Release 3.1.0, 2012 Sprint 22 API, 2012 Sprint 22 |
Components | iOS |
Labels | api, module_popover, qe-review, qe-testadded |
Reporter | Anirudh Nagesh |
Assignee | Sabil Rahim |
Created | 2012-08-17T15:57:32.000+0000 |
Updated | 2013-03-04T09:28:18.000+0000 |
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 .
When is Sprint 2012-18 API?
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
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
reopening to update labels
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.
Ticket re-opened
PR pending https://github.com/appcelerator/titanium_mobile/pull/3183
Zero out remaining hours
Tested with: SDK:3.1.0.v20130303194855 Studio: 3.1.0.201302252142 Device: iPad2(v 5.1)