Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2048] iOS: After setting orientation, current orientation is not being properly returned

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:57:55.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsiOS
Labelsdefect, ios, orientation, regression
ReporterThomas Huelbert
AssigneeBlain Hamon
Created2011-04-15T03:08:59.000+0000
Updated2011-04-17T01:57:55.000+0000

Description

1.Phone Tab>Orientation
2.tap set landscape (or portrait)
3.rotate device and look at the value being returned for current orientation

results: whatever was being reported when the value is set is the only value returned (not updating).

Comments

  1. Blain Hamon 2011-04-15

    It's worse than that. Any context going away breaks things for listeners of gesture.

    1. Phone Tab>Shake
    2. Shake device. Event triggers
    3. Leave window, return to shake. Shake no longer triggers.
    4. Go to orientation. Orientation no longer triggers.

    Or swap 2 and 4.

    The really strange part is that the Obj-C code is still working, all the way up to firing an event. Odd.

  2. Jeff Haynie 2011-04-15

    (from [bdbffb8e6f915a7cdcd474306b751ac1bc96128a]) [#2048 state:fixed-in-qa] Reset module page contexts when necessary. Improvements to shake handling. http://github.com/appcelerator/titanium_mobile/commit/bdbffb8e6f915a7cdcd474306b751ac1bc96128a"> http://github.com/appcelerator/titanium_mobile/commit/bdbffb8e6f915...

  3. Stephen Tramer 2011-04-15

    Will patch into 1_4_X when confirmed fixed.

  4. Thomas Huelbert 2011-04-15

    iPod 4th gen (4.1), 3rd gen 4.0.2 with mobile sdk build 1.5.0.62c1cae

  5. rabu 2011-04-15

    I think the same shake error (event only fired one/first time) is described in #1681!

    So, I'm a bit confused, will the fix be in 1.4.X or 1.5? I have an app cooking needing the shake (+ re-shake) feature, would like to know, when I colud expect a fix for this problem?

JSON Source