[TIMOB-5763] Android: Launching an app with portrait orientation in landscape causes image to be redrawn
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2017-07-11T23:06:32.000+0000 |
Affected Version/s | Release 1.8.0 |
Fix Version/s | n/a |
Components | Android |
Labels | android, gesture, landscape, orientation, portrait |
Reporter | Alan Vaghti |
Assignee | Ingo Muschenetz |
Created | 2011-10-16T10:32:20.000+0000 |
Updated | 2017-07-11T23:06:32.000+0000 |
Description
1) Create a new project and put the following in app.js
var win = Ti.UI.createWindow({
backgroundColor:'white'
});
var img = Ti.UI.createImageView({image:'grouch.jpg'});
win.add(img);
win.orientationModes = [
Ti.UI.PORTRAIT
];
win.open();
2) Put the attached grouch.jpg in the Resources folder
3) Hold the device in landscape mode and launch application
Actual results: Image and status bar momentarily shows up in landscape mode before quickly being redrawn in portrait mode
Expected results: Image and status bar only appear in portrait mode
Notes: Seems to only be reproducible on first launch of the app
Attachments
File | Date | Size |
---|---|---|
grouch.jpg | 2011-10-16T10:32:20.000+0000 | 52018 |
I am unable to reproduce this issue with the following environment; Pixel (7.1) Studio 4.9.0.201705302345 Ti SDK 6.1.1 GA Appc NPM 4.2.9 Appc CLI 6.2.2 Ti CLI 5.0.14 Alloy 1.9.11 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131