{ "id": "159691", "key": "TIMOB-23235", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-04-21T13:55:16.000+0000", "created": "2016-04-19T14:49:22.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-5.3.0" ], "versions": [ { "id": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "issuelinks": [ { "id": "51408", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "159610", "key": "TIMOB-23223", "fields": { "summary": "Windows: No splash screen when deploying alloy app to windows 10 mobile", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "51442", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "159736", "key": "TIMOB-23250", "fields": { "summary": "Creating a mobile project will throw a \"Error: ENOENT: no such file or directory, stat\"", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2016-04-25T17:56:54.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10207", "name": "Tooling" }, { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h2. Description\r\n\r\nWhen launching an app on win 10 mobile with a classic project, the default SplashScreen.png from our templates is used. However, this uses a landscape image on a vertical screen and results in the image looking both too small to read and having large black horizontal bars on top and bottom (letterbox TV style).\r\n\r\nIdeally the splash screen should have our logo centered and the red color filling the screen.", "attachment": [ { "id": "59036", "filename": "wp_ss_20160420_0002[1].png", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2016-04-20T22:52:20.000+0000", "size": 54908, "mimeType": "image/png" } ], "flagged": false, "summary": "Windows: Splash screen on Win 10 mobile doesn't look right - horizontal bands of mismatched color above/below", "creator": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "environment": "Windows 10 Pro \r\nWindows Phone 10.0 (Microsoft Lumia 640 LTE) \r\nAppc Studio: 4.6.0.201604141457\r\nTi SDK: 5.3.0.v20160415081725 \r\nAppc NPM: 4.2.5-1 \r\nAppc Core: 5.3.0-12 \r\nNode: v4.4.2", "closedSprints": [ { "id": 619, "state": "closed", "name": "2016 Sprint 08 Tooling", "startDate": "2016-04-09T00:30:04.446Z", "endDate": "2016-04-23T00:30:00.000Z", "completeDate": "2016-04-25T02:58:12.551Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "383136", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Looks like one issue is that we offer no way for the user to specify the background color to use for their splash screen on Win 10 and Win 8.1 Store apps. I believe we'll need a way to specify that in the tiapp.xml file.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-04-19T14:57:55.000+0000", "updated": "2016-04-19T14:57:55.000+0000" }, { "id": "383138", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "https://msdn.microsoft.com/en-us/windows/uwp/launch-resume/add-a-splash-screen\r\n\r\nLooks like for Win 10 we should be providing a 1152 x 1920 image for the phone, and a 1240 x 600 (or is it 620 x 300?) for desktop? The docs are at odds with their own screenshots and samples, which use a 620 x 300 for desktop, and a 480 x 800 for phone.\r\n\r\nLooking at VS 2015's package manifest, it is looking for: \r\n2480 x 1200 (scale 400) SplashScreen.scale-400.png\r\n1240 x 600 (scale 200) SplashScreen.scale-200.png\r\n930 x 450 (scale 150) SplashScreen.scale-150.png\r\n775 x 375 (scale 125) SplashScreen.scale-125.png\r\n620 x 300 (scale 100) SplashScreen.scale-100.png\r\n", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-04-19T15:15:40.000+0000", "updated": "2016-04-19T15:15:40.000+0000" }, { "id": "383188", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "To test overriding the splash screen background color, add this section to your tiapp.xml:\r\n{code:xml}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nThis will set the splash screen background color to green, and it becomes very obvious where the image ends and the \"background\" begins. The xml is a bit much, but mirrors the XML used in Windows Package.appxmanifest file. I was looking for a way to let user's effectively override arbitrary sections of that file when we generate it. For now, I only hooked in to allow overriding the splash screen background color, the logo ForegroundText and the logo BackgroundColor. Most of the other properties are populated through placing the right DefaultIcon.png and app name/description in your tiapp.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-04-19T19:44:26.000+0000", "updated": "2016-04-19T19:44:26.000+0000" }, { "id": "383192", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "https://github.com/appcelerator/titanium_mobile/pull/7951\r\nhttps://github.com/appcelerator/titanium_mobile_windows/pull/636\r\n\r\nThe first PR is to add loads.defaultsdeep as an npm package inside node_modules in the SDK so that the second PR can make use of it.\r\n\r\nThe second PR adds some more scaled versions of the splash screen for win10 and win8.1&& store; but also provides the ability to override some XML values in the generated Package.appxmanifest file for a given platform/sdk version. The aim is to allow the user to use the exact same Xml structure in their tiapp.xml as they would in a Package.appxmanifest from MS. I didn't extend this to every tag/attribute, but the ones we can't currently override by other means (i.e. the logos get generated from DefaultIcon.png, the app name/description from tiapp values).\r\n\r\nWith this change you should be able to override the logo fg text, logo bg color and splash bg color. The values below match our defaults if you don't override, so change them to test it out:\r\n{code:xml}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nYou can use hex values for colors, or one of the named colors from: https://msdn.microsoft.com/en-us/library/windows/apps/br211467.aspx\r\n\r\nI can't find docs on the ForegroundText values, I've seen 'light' and 'dark' in samples, though.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-04-19T20:05:13.000+0000", "updated": "2016-04-19T20:05:13.000+0000" }, { "id": "383429", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "I am able to reproduce this issue.\r\n!wp_ss_20160420_0002[1].png|thumbnail!\r\nTested on: \r\nMicrosoft Lumia 640 (10) \r\nMicrosoft Simulator (10) \r\nWindows 10 \r\nStudio: 4.6.0.201604190855 \r\nTi SDK: 5.3.0.v20160420090405 \r\nAppc NPM: 4.2.5-3 \r\nApp CLI: 5.3.0-27 \r\nNode v4.4.3 \r\n*Reopening Ticket*", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2016-04-20T22:51:53.000+0000", "updated": "2016-04-20T22:52:40.000+0000" }, { "id": "383438", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "The change was only done on master/5.4.0 branch. If [~emerriman] is OK with back porting to 5_3_X, I can do that...", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-04-20T23:34:03.000+0000", "updated": "2016-04-20T23:34:03.000+0000" }, { "id": "383534", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Merged to 5_3_X, waiting on a build of the SDK on 5_3_X now...", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-04-21T13:55:16.000+0000", "updated": "2016-04-21T13:55:16.000+0000" }, { "id": "383826", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, The splash screen is displayed correctly. \r\nTested on: \r\nMicrosoft Lumia 640 (10) \r\nWindows Simulator (10) \r\nWindows 10 \r\nStudio: 4.6.0.201604210304 \r\nTi SDK: 5.3.0.v20160421080259 \r\nAppc NPM: 4.2.5-3 \r\nApp CLI: 5.3.0-36 \r\nNode v4.4.3 \r\n*Closing Ticket.*", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2016-04-25T17:56:47.000+0000", "updated": "2016-04-25T17:56:47.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }