[TIMOB-17645] iOS8: First launch - unexpected layout for Ti.UI.Portrait
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-09-15T16:27:20.000+0000 |
Affected Version/s | Release 3.4.0 |
Fix Version/s | Release 3.4.0, Release 3.5.0 |
Components | iOS |
Labels | ios8, module_orientation, qe-3.4.0, qe-manualtest, regression |
Reporter | Olga Romero |
Assignee | Vishal Duggal |
Created | 2014-09-08T18:13:55.000+0000 |
Updated | 2014-11-21T20:30:50.000+0000 |
Description
When launching app in a LANDSCAPE_RIGHT mode, the image layout is wrong. Rotating device to PORTRAIT results in image size reduction.
It happens only on first launch. Killing the app and launching it again will result in an expected layout.
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,
Ti.UI.UPSIDE_PORTRAIT
];
win.open();
Attachments
File | Date | Size |
---|---|---|
expected.png | 2014-09-08T18:13:55.000+0000 | 425655 |
fixed.png | 2014-09-10T17:35:57.000+0000 | 750588 |
grouch.jpg | 2014-09-08T18:13:55.000+0000 | 52018 |
ios8_1st .png | 2014-09-08T18:13:55.000+0000 | 294609 |
ios8_1strotate.png | 2014-09-08T18:13:55.000+0000 | 321956 |
PR master: https://github.com/appcelerator/titanium_mobile/pull/6033 PR 3_4_X: https://github.com/appcelerator/titanium_mobile/pull/6034
Tested and verified the fixed (fixed.pnj), using Mac osx 10.9.4 Maverics Appcelerator Studio, build: 3.4.0.201409081810 Titanium SDK, build: 3.4.0.v20140909222515 acs@1.0.16 alloy 1.5.0-rc install@0.1.7 npm@1.4.23 sudo@1.0.3 titanium 3.4.0-rc titanium-code-processor@1.1.1 Xcode6-Beta7 Device: iPhone 5S iOS 8.0GMS