Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23223] Windows: No splash screen when deploying alloy app to windows 10 mobile

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2016-04-19T18:51:44.000+0000
Affected Version/sRelease 5.3.0
Fix Version/sRelease 5.3.0
ComponentsTooling, Windows
Labelsqe-5.3.0
ReporterHarry Bryant
AssigneeFeon Sua Xin Miao
Created2016-04-15T21:01:48.000+0000
Updated2016-04-25T17:44:50.000+0000

Description

Description

It was found that when deploying an alloy mobile project to a windows 10 mobile device, the splash screen is not present, and instead presents a black screen with a white crossed box in the center. This does not occur for classic projects, or alloy/classic projects on 8.1 devices.

Steps to Reproduce

1. Create an alloy mobile project. 2. In the Command Prompt, cd into project directory. 3. appc run -p windows -T wp-device --wp-sdk 10.0 4. Launch app once built.

Actual Result

No splash screen on launch, white box instead

Expected Result

Splash screen should be present on launch of app.

Attachments

FileDateSize
alloy.png2016-04-19T14:51:53.000+000026282
classic.png2016-04-19T14:51:53.000+000015324

Comments

  1. Christopher Williams 2016-04-18

    [~htbryant] Just to confirm: - This happens for Alloy projects on Win 10 mobile? - It doesn't happen for Alloy projects on Win 8.1 mobile? - It doesn't happen for classic projects on Win 8.1 mobile? - It doesn't happen for classic projects on Win 10 mobile?
  2. Christopher Williams 2016-04-18

    I believe the white box with an X in it is sort of a "default" splash screen/logo used. I believe it comes from cmake itself: titanium_mobile_windows/cli/vendor/cmake/share/cmake-3.4/Templates/Windows/SplashScreen.png What I don't understand is why that would be used, when in other cases we use the "default" Appcelerator splashes from titanium_mobile_windows/templates/build/Assets
  3. Feon Sua Xin Miao 2016-04-18

    Alloy default splash screen image for windows, SplashScreen.png is also a white crossed box, not sure if it's the culprit: https://github.com/appcelerator/alloy/tree/master/platforms/windows/project/app/assets/windows What do you see if you replace <projectdir>\app\assets\windows\SplashScreen.png with a different image file? Do you still see the white box?
  4. Christopher Williams 2016-04-19

    [~fmiao] So I tested this a little too with 5.2.2.GA. If I did a classic ti project for win 10 mobile, it used the default SplashScreen.png from windows SDK (which still isn't quite right in the way it looks visually, I should file a ticket for that). When I ran alloy new on the project and then built, it used the white box with an X in it for the splash screen. So it definitely is coming from alloy. When I build with alloy, during the build process is when I see new image assets copied into the Resources/windows folder. So it looks like if I have no custom splash screen, then with a classic app it falls back to the proper splashes we have as defaults in Windows SDK. If I have none with an alloy app, it uses Alloy's default splash screens for windows. The fix here may be to simply ship fixed/better default splash screens in alloy for Windows.
  5. Christopher Williams 2016-04-19

    Additionally, I think because we use the DefaultIcon.png stuff in Windows to generate icons, we probably don't need the Logo/SmallLogo/StoreLogo files.
  6. Harry Bryant 2016-04-19

    [~cwilliams] can confirm, This occurs ONLY on alloy projects for windows 10 mobile, it does not affect classic projects, or alloy projects for windows 8.1
  7. Feon Sua Xin Miao 2016-04-19

    Master: https://github.com/appcelerator/alloy/pull/782 1_8_X: https://github.com/appcelerator/alloy/pull/783
  8. Josh Longton 2016-04-25

    Verified as fixed, The splash screen is present. Tested on: Microsoft Lumia 640 (10) Windows Simulator (10) Windows 10 Studio: 4.6.0.201604210304 Ti SDK: 5.3.0.v20160421080259 Appc NPM: 4.2.5-3 App CLI: 5.3.0-36 Node v4.4.3 Closing Ticket.

JSON Source