{ "id": "151061", "key": "TIMOB-19487", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-11-18T01:17:32.000+0000", "created": "2015-09-09T21:45:35.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "49145", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "151605", "key": "TIMOB-19628", "fields": { "summary": "Windows: Missing icon in package manifest", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "49152", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "151617", "key": "TIMOB-19645", "fields": { "summary": "CLI: Builder.generateAppIcons ignores existing assets", "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 } } } }, { "id": "49777", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "153077", "key": "TIMOB-19970", "fields": { "summary": "Windows: Warning about duplicate default icon, not overwritten by DefaultIcon", "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 } } } }, { "id": "50673", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "151494", "key": "TISTUD-7727", "fields": { "summary": "Studio: Make Icon in tiapp.xml work", "status": { "description": "This issue is being actively worked on at the moment by the assignee.", "name": "In Progress", "id": "3", "statusCategory": { "id": 4, "key": "indeterminate", "colorName": "yellow", "name": "In Progress" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } }, { "id": "48983", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "151153", "key": "TIMOB-19509", "fields": { "summary": "DefaultIcon.png needs to support platform specific versions", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "48933", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "151029", "key": "TIMOB-19477", "fields": { "summary": "Add support for DefaultIcon.png to generate missing app icons/artwork", "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": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "48953", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "150865", "key": "TIMOB-19442", "fields": { "summary": "Windows: ti build failed when logo image assets with invalid dimension exits", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-31T22:06:59.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "If any of the app icons are missing, then search for -{{/platforms/windows/DefaultIcon.png}}- and {{/DefaultIcon.png}} and us it to generate missing app icons.\r\n\r\nYou simply need to the base Builder object's {{generateAppIcons()}} method:\r\n\r\n{code}\r\nvar missingIcons = [\r\n {\r\n description: 'Resources//appicon.png - Used for iPhone', // some meaningful description... iOS build dynamically generates this\r\n file: '/path/to/dest.png', // MUST be a png and MUST have an extension\r\n width: 100, // whatever is required\r\n height: 100, // should match width\r\n required: true // when DefaultIcon.png isn't big enough, true will trigger an error and false will skip the icon\r\n }\r\n];\r\n\r\nthis.generateAppIcons(missingIcons, function (err) {\r\n // err is either true if there was an error or undefined if it was successful\r\n});\r\n{code}\r\n\r\nHere's a good article on MSDN about the assets for Windows apps: https://msdn.microsoft.com/en-us/library/windows/apps/mt412102.aspx", "attachment": [], "flagged": false, "summary": "Windows: Generate missing app icons based on DefaultIcon.png", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "closedSprints": [ { "id": 517, "state": "closed", "name": "2015 Sprint 22 SDK", "startDate": "2015-10-24T00:30:42.059Z", "endDate": "2015-11-07T01:30:00.000Z", "completeDate": "2015-11-09T02:37:29.441Z", "originBoardId": 114 }, { "id": 525, "state": "closed", "name": "2015 Sprint 23 SDK", "startDate": "2015-11-07T01:30:15.519Z", "endDate": "2015-11-21T01:30:00.000Z", "completeDate": "2015-11-23T02:54:27.887Z", "originBoardId": 114 }, { "id": 494, "state": "closed", "name": "2015 Sprint 20 SDK", "startDate": "2015-09-26T00:29:19.845Z", "endDate": "2015-10-10T00:29:00.000Z", "completeDate": "2015-10-12T05:33:30.964Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "365361", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/442", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-30T05:41:58.000+0000", "updated": "2015-09-30T05:41:58.000+0000" }, { "id": "368708", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Reopening as it is not implemented for Windows Store applications\r\n\r\nApplying the generated assets to the appxmanifest was implemented by TIMOB-19628. \r\n\r\nEvery time the build runs, if the below assets do not exist then it will generate them, as implemented by this ticket:\r\n\r\n* Square44x44Logo.png\r\n* Square71x71Logo.png\r\n* Square150x150Logo.png\r\n\r\nHowever [based off our documentation|http://docs.appcelerator.com/platform/latest/#!/guide/Icons_and_Splash_Screens] these are only the Windows Phone Store icons, for Windows Store icons we also need Logo.png and SmallLogo.png. *Because of this I am going to reopen the ticket as it is not implemented for Windows Store*\r\n\r\nHere are my observations for when the above are used:\r\n\r\n* When building to a Windows Phone emulator it will use Square44x44Logo as the apps logo.\r\n* When building to a Windows Phone device it will use Square44x44Logo.scale-100 as the apps logo, which is copied across at build time. Removing this will make the app use Square44x44Logo\r\n* When building to Windows Local it will use SmallLogo.png for the taskbar icon and start menu in Win10 and Logo.png for the tile, both of which are copied across at build time and not generated based off the DefaultIcon provided\r\n\r\nOne further note is that based off the other platforms it seems we should not be copying across the assets from the SDK every build. The assets provided by the SDK should be copied into the Windows specific resources on project creation, although this may be a design decision as pre-existing projects would be unable to be built for Windows if this was the case.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-11-02T21:59:33.000+0000", "updated": "2015-11-02T22:00:19.000+0000" }, { "id": "368825", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/463", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-11-03T14:17:35.000+0000", "updated": "2015-11-03T14:17:35.000+0000" }, { "id": "369469", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Reopening ticket:\r\n\r\nOS: Microsoft Windows 10 Pro 10.0.10240\r\nAppc core: 5.1.0-43\r\nAppc NPM: 4.2.1\r\nTi SDK: 5.1.0.v20151104190037\r\n\r\nWhen using the above, even if all the correct assets exist then the build will always generate the below assets\r\n\r\n{code}\r\n[INFO] Missing 3 app icons, generating missing icons\r\n[INFO] Square71x71Logo.png - Used for logo - size: 71x71\r\n[INFO] Logo.png - Used for logo - size: 150x150\r\n[INFO] SmallLogo.png - Used for logo - size: 30x30\r\n{code}", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-11-09T23:38:46.000+0000", "updated": "2015-11-09T23:38:46.000+0000" }, { "id": "369563", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Bumping to 5.1.1 as this is less urgent than other tickets.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-11-10T17:47:38.000+0000", "updated": "2015-11-10T17:47:38.000+0000" }, { "id": "370252", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile_windows/pull/475", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-11-13T21:37:47.000+0000", "updated": "2015-11-13T21:37:47.000+0000" }, { "id": "370321", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~eharris] Let me clarify, did you place icons directly under your project root, or place them into {{/platforms/windows/}}? I noticed we didn't implement {{/platforms/windows/}} support.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-11-16T06:24:55.000+0000", "updated": "2015-11-16T06:24:55.000+0000" }, { "id": "370458", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "It looks like {{/platforms/PLATFORM/DefaultIcon.png}} support is not implemented in the titanium CLI yet. I think we want to skip {{/platforms/windows/}} support for 5.1.1...should be done in the different ticket & next release. Do you agree, [~eharris] [~gmathews] ?", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-11-16T23:27:14.000+0000", "updated": "2015-11-16T23:27:14.000+0000" }, { "id": "370460", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~kota] [~gmathews] The DefaultIcon.png should go in the root of the project (i.e. {{/DefaultIcon.png}}), not in a platform specific directory.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-11-16T23:33:02.000+0000", "updated": "2015-11-16T23:33:02.000+0000" }, { "id": "370461", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "ok thanks for confirm, updated ticket description.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-11-16T23:42:21.000+0000", "updated": "2015-11-16T23:42:21.000+0000" }, { "id": "416566", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed, if there are any problems, please file a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-31T22:06:59.000+0000", "updated": "2017-03-31T22:06:59.000+0000" } ], "maxResults": 13, "total": 13, "startAt": 0 } } }