Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5233] Android: Splash screen stretched on the app launch if device in landscape

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionCannot Reproduce
Resolution Date2017-07-19T21:41:00.000+0000
Affected Version/sRelease 1.7.2, Release 2.0.0, Release 1.8.2
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterEduardo Gomez
AssigneeIngo Muschenetz
Created2011-09-08T10:20:15.000+0000
Updated2017-07-19T21:41:23.000+0000

Description

Problem

Splash screen is stretched if window orientation mode is locked up, when launching the app in landscape mode.

Target Environment

{noformat} Titanium SDK: Mobile 1.7.2 Platform OS: Android Version: 2.1 {noformat}

Repro sequence

var win1 = Titanium.UI.createWindow({  
    title:'Tab 1',
    backgroundColor:'#fff'
});

win1.orientationModes = [ Titanium.UI.PORTRAIT]; 

var label1 = Titanium.UI.createLabel({
	color:'#999',
	text:'I am Window 1',
	font:{fontSize:20,fontFamily:'Helvetica Neue'},
	textAlign:'center',
	width:'auto'
});

win1.add(label1);

win1.open();

Comments

  1. Eduardo Gomez 2011-10-03

    Verified fixed With: OSX 10.6.8

    Studio

    {noformat} Titanium Studio, build: 1.0.5.201109261308 (c) Copyright 2011 by Appcelerator, Inc. All rights reserved. Build: jenkins-titanium-rcp-master-89 (origin/master) Date: 26 September 2011, 13:10:51 {noformat}

    Tested on

    {noformat} SDK 1.8.0.v20110930164213, Emulator and Tablet Android v2.2 using provided sample code. {noformat}
  2. Natalie Huynh 2011-12-06

    Tested with 1.8.0.1.v20111205164258 v8/rhino on Galaxy 10.1 (3.1) Droid 1 (2.2.2) Nexus S (2.3.6) Emulator (4.0) Still seeing the stretched image when launching in landscape
  3. Eduardo Gomez 2012-03-18

    Tested with

    Android OS 2.2 both V8/Rhino, I see a stretched flickering effect for just a second, then screen is shown correctly (not stretched)

    Titanium SDK version

    1.8.2 (02/23/12) 2.0.0 (03/18/12)
  4. Lee Morris 2017-07-19

    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

JSON Source