[TIMOB-3236] iOS: Orientation on iPhone doesn't update Ti.UI.TabGroup correctly
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2013-05-07T11:51:58.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | 2013 Sprint 10 |
Components | iOS |
Labels | api |
Reporter | Michal Gondar |
Assignee | Shameer Jan |
Created | 2011-04-15T03:40:07.000+0000 |
Updated | 2017-03-21T22:19:46.000+0000 |
Description
Titanium Developer 1.2.2
Titanium SDK 1.6
iPhone SDK 4.2 on simulator
sample code http://pastie.org/1619046">http://pastie.org/1619046
[1st issue] 2 tabs, each of them got different orientationMode
set.
1st tab loads fine in simulator.
by clicking on the second tab, tabGroup is wrongly resized.
[second issue] app loads fine on the beginning.
by clicking on the second tab, app is rotated as per
orientationMode
by clicking on 1st tab again, orientationMode is ignored.
looks like orientationMode is considered just once, on window
open, and not anymore.
(catching orientationChange event and changing it there is bugging
tabGroup and sometimes dimension of whole window - http://img696.imageshack.us/i/bugiz.jpg/">http://img696.imageshack.us/i/bugiz.jpg/)
Attachments
File | Date | Size |
---|---|---|
bug.jpg | 2011-04-15T03:40:07.000+0000 | 54505 |
Tested on the iOS simulator using TiSDK 2.2.0v20120904101713, issue still valid. The first time the tab is resized incorrectly, if you repeat the steps, it will be resized correctly. So it's always the first time that it doesn't update appropriately.
Issue cannot reproduces Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 iOS iPhone Simulator: iOS SDK version: 6.0
Closing ticket as the issue cannot be reproduced and due to the above comments.