[TIMOB-15024] Android 4.3 - Orientation change event (Ti.Gesture) fires multiple times when changing the orientation of the phone
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2013-09-03T18:27:21.000+0000 |
Affected Version/s | Release 3.1.2 |
Fix Version/s | n/a |
Components | Android |
Labels | Android, triage |
Reporter | Bert Grantges |
Assignee | Ping Wang |
Created | 2013-09-01T13:21:32.000+0000 |
Updated | 2017-03-24T17:47:41.000+0000 |
Description
To duplicate create a simple app with a window - make the window heavyweight (fullscreen=true)
Add the below code:
Ti.Gesture.addEventListener('orientationchange', function(e){
Ti.API.info('orientationchange');
});
run the application on android (my test was version 4.3) notice that the event fires multiple times when changing the orientation.
[~bgrantges], I can not reproduce the issue. Ran the test case below on Nexus 4 (4.3) with 3.1.2.GA. The "orientationchange" event only fired once when changing the orientation. Can you specify which device you used and also paste your test case?
Closing ticket as cannot reproduce with reference to Ingo's comment above.