Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5856] Android: Landscape splash not appearing or appears stretched when device held in landscape during app launch

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionNot Our Bug
Resolution Date2017-03-29T16:28:46.000+0000
Affected Version/sRelease 1.7.4
Fix Version/sRelease 3.4.0
ComponentsAndroid
LabelssupportTeam
ReporterEric Merriman
AssigneePing Wang
Created2011-10-24T17:19:23.000+0000
Updated2017-03-29T16:28:49.000+0000

Description

Description: I was trying to determine the behavior of the android devices when held in landscape while launching an app. I was unable to get the faster devices to display any splash in landscape. This differs from the behavior while launching in portrait mode. I was able on subsequent launches to get the slower devices to flash a red splash, but it looks like the portrait one stretched. The sample code generated by Studio for a mobile android project contains 11 images for various resolutions. I was trying to determine which is used in landscape for various devices. I was unable to capture a screenshot since the splash when displayed is only there for a split second. Steps to reproduce: 1) Create a new Ti Mobile project in studio 2) Examine the folder structure to verify the various images at resources/android/images/res* 3) Install on device 4) Rotate to landscape orientation 5) Launch app Result: Splash screen not displayed on first launch Expected: Splash screen displayed

Attachments

FileDateSize
OrientationChangeClassic.zip2014-05-02T21:42:48.000+00005998942

Comments

  1. Thomas Fischer 2011-12-04

    Is there a workaround for this issue? Specifically, I would like a tolerable, (not stretched/squished) non-trivial (needs to have at least a logo) splash screen that displays in both landscape and portrait mode using titanium 1.6.2. Any information you have to achieve this would be appreciated. Pointing me to the file that I might modify/extend in the source would be sufficient.
  2. Tim Poulsen 2012-10-03

    Still seeing this issue: SDKs tested: 2.1.2.GA, 2.1.3.v20120927181611, 3.0.0.v20121002103353 Devices tested: Galaxy Nexus 4.0.4, Droid (original) 2.2.3
  3. Stephen Feather 2012-10-03

    Watching as this will affect a project we finish up next week for distro
  4. Dan Tamas 2012-10-03

    I'll launch my app this weekend with this bug, but a fix would be great for an soon to come update. Thnx.
  5. tanel teemusk 2012-10-14

    Same thing with 2.1.2GA, 2.1.3.GA on Samsung Galaxy S2 and also on Galaxy Tab.
  6. Jason Priebe 2013-04-30

    Why has nothing happened on this issue for 18 months? I see this issue -- my landscape splash images don't show up. No stretched portrait images (which would be even worse); just no splash at all. Just to rule out my code, I created a new Single Window Application (Classic) using SDK 3.1.0 GA, and with no modifications, it exhibits the same behavior. I'm running on a Samsung Epic 4G. Not a super fast android device by today's standards. It's not the end of the world that the splash doesn't show up (although it's one of those "fit and finish" things that make the difference between an amateurish app and a professional one). The main reason I find this important is that I'm putting a lot into maintaining splash graphics, and we're packaging at least 4 landscape splash images that never get used. That's a lot of wasted space.
  7. Ping Wang 2014-07-24

    This issue also occurs in native Android apps. The splash screen / root activity is not displayed because the window/tabgroup activity loads too fast. If I delay opening the window:
       var win = Ti.UI.createWindow({
       	backgroundColor: "white",
       	exitOnClose: false
       });
       
       setTimeout(function(){
       	win.open();
       }, 500);
       
    I can see the splash screen displaying correctly in both portrait and landscape modes. Marked this ticket as Not Our Bug.
  8. Lee Morris 2017-03-29

    Closing ticket with reference to the above comments.

JSON Source