GitHub Issue | n/a |
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-07-25T18:12:25.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 15 API, 2013 Sprint 15, Release 3.1.2, Release 3.2.0 |
Components | iOS |
Labels | 6.0.1, iPad, ios, module_orientation, qe-testadded |
Reporter | Jeyakumar Datchinamoorthi |
Assignee | Sabil Rahim |
Created | 2013-03-01T01:15:11.000+0000 |
Updated | 2013-08-22T11:13:11.000+0000 |
The attached sample application has login type, username and password fields. Tapping logintype will open another window. When the application is launched in landscape mode, the events are not fired to open the login type window. The password field is uneditable. If the device is tilted to portrait or if the app is launched in portrait all the events work fine.
This happens ONLY on the device and not on the sandbox using titanium studio.
I notice the bug while running the app on the iPad as if it were an iPhone app, small screen. Is this what you are seeing? I see no problems while running it as an iPad app. Always testing on device.
This is a simple test case that also demonstrated the issue:
Only happens if build for iPhone and ran on iPad simulator or device.
Took a look with Vishal, and it's related to iOS 6.0's strangeness. 5.0 doesn't show this, and hitTest and userInteractionEnabled show no differences. He's going to take a look since he's been working the most with 6.0 orientation magic.
Workaround
Placing this line of code in app.js fixes the issue for nowThere is a JS workaround. And we are not sure if the fix is safe enough for 3.1.1. Moving to 3.1.2 for now.
Master PR : https://github.com/appcelerator/titanium_mobile/pull/4487 3_1_X PR : https://github.com/appcelerator/titanium_mobile/pull/4488
CR + FR approved
Verified the fix & the app does not become unresponsive when launched in landscape mode. Thus closing Environment: Appcel Studio : 3.1.2.201308091728 Ti SDK : 3.1.2.v20130814124556 Mac OSX : 10.8.4 Alloy : 1.2.0-beta CLI - 3.1.2-alpha Ipad4 - 6.0.1