{ "id": "61588", "key": "TIMOB-956", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11224", "name": "Release 1.4.0", "archived": true, "released": true, "releaseDate": "2010-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:54:47.000+0000", "created": "2011-04-15T02:40:11.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios", "iphone", "statusbar" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:54:47.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
Drop the following code into app.js: http://pastebin.com/7wszjAev
\nIn portrait mode, notice how going back and forth works fine. If\nyou then go to landscape mode and click a button, everything is\nmessed up.
I tried to work around this with a timer, updating the statusbar\na few seconds after the window had been redrawn, but the same\nproblem occurs.
I'm not seeing it; there's an issue where the view resizes\nbefore the status bar animation is complete, and it looks kind of\nugly, but the UI doesn't get screwed up. We may not have control\nover the view resizing, I'll look into it.
\nIn 1.3.0 there was a brief period in the animation where there\nwas a big white block visible. Is this what you're referring\nto?
Really? I just tried again with 1.3.1 pulled from master\nyesterday, and it's still a problem. I change the simulator to\nlandscape mode, press the button once, and the new button is\ndisplayed with the right hand side outside the page. Click again,\nand the whole window goes blank.
Can you tell me if you're testing on simulator or device, which\nOS you've built for, and which OS is running on device?
osx 10.6 / latest apple xcode
\nsame problem targeting iphone sdk 3.1 and 3.1.3
\nreproducible for me on mobilesdk 1.2, 1.3, 1.3.1
\nboth in simulator and 1g touch
Just tried dropping the code into a new project, same\nproblem
Under 3.2/4.0 there's no issue. This might be Apple's problem.\nWill see if I can duplicate under 3.1.x and if there's anything we\ncan do about it.
(from [9556512c916bdd3ef44125ff8ad09b6ab8cb4a48])\nCloses #956: Subviews of the root view are repositioned\non status bar toggle. -[UIScreen applicationFrame] used to always\nreturn the portrait mode frame. \nhttp://github.com/appcelerator/titanium_mobile/commit/9556512c916bd...