{ "id": "169362", "key": "TIMOB-25063", "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": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2018-02-28T13:20:44.000+0000", "created": "2017-08-03T17:30:50.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "19572", "description": "Important fixes for 6.1.0", "name": "Release 6.1.1", "archived": false, "released": true, "releaseDate": "2017-06-16" } ], "issuelinks": [ { "id": "55713", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "169025", "key": "TIMOB-24984", "fields": { "summary": "Windows: Support XAML style templates", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-05-09T06:47:44.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": "h5. Issue Description \r\nWe've been working with buttons a lot and have noticed sometimes a black border will render around the button, even when there's NO border properties declared in the tss (no borderWidth, no borderColor), unfortunately, it's a random issue and we haven't been able to reproduce it reliably. \r\n\r\nHere's a sample app with only 1 button on it: https://propelics.box.com/s/g80r235tbipgadu1lj3yl5itvq5pd76i\r\n\r\nWe can't really provide you with a set of steps, but advise you with running the app at least 10 times (yeah, awful). When doing this, you should be able to see the border appearing some times and other times not. We did several iterations like this (running the app 10 times in a row) and we were able to see the border appearing and disappearing at least 2 times per iteration. But we weren't able to identify a pattern.\r\n\r\nAlso, please notice that when the border appears, and the button gets clicked, the border goes away.\r\n\r\n* This can be tested by deploying with -T ws-local\r\n", "attachment": [], "flagged": false, "summary": "Windows: Ti.UI.Button randomly renders with black border", "creator": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Environment details:\r\nOperating System\r\n Name = Microsoft Windows 10 Pro\r\n Version = 10.0.15063\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 7.9GB\r\n\r\nNode.js\r\n Node.js Version = 4.6.0\r\n npm Version = 2.15.9\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.11\r\n node-appc Version = 0.2.39\r\n\r\nTitanium SDKs\r\n 6.1.0.GA\r\n Version = 6.1.0\r\n Install Location = C:\\ProgramData\\Titanium\\mobilesdk\\win32\\6.1.0.GA\r\n Platforms = android, mobileweb, windows\r\n git Hash = 6eb8990\r\n git Timestamp = 5/26/2017 22:26\r\n node-appc Version = 0.2.43\r\n\r\nMicrosoft (R) Visual Studio\r\n 14.0 (selected)\r\n Path = C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\\r\n CLR Version = v4.0.30319\r\n MSBuild Version = v14.0.25420.1\r\n Windows Phone SDKs = not installed\r\n\r\nMicrosoft (R) Windows Phone SDK\r\n 10.0\r\n Path = C:\\Program Files (x86)\\Windows Kits\\10\\\r\n 8.1 (selected)\r\n Path = C:\\Program Files (x86)\\Microsoft SDKs\\Windows Phone\\v8.1\\\r\n\r\nWindows PowerShell\r\n Enabled = yes\r\n", "closedSprints": [ { "id": 978, "state": "closed", "name": "2017 Sprint 25 SDK", "startDate": "2017-12-03T23:22:15.144Z", "endDate": "2017-12-17T23:22:00.000Z", "completeDate": "2017-12-18T22:32:02.770Z", "originBoardId": 114 }, { "id": 963, "state": "closed", "name": "2017 Sprint 22 SDK", "startDate": "2017-10-22T21:43:59.523Z", "endDate": "2017-11-05T22:43:00.000Z", "completeDate": "2017-11-06T16:33:42.425Z", "originBoardId": 114 }, { "id": 948, "state": "closed", "name": "2017 Sprint 19 SDK", "startDate": "2017-09-10T21:24:51.562Z", "endDate": "2017-09-24T21:24:00.000Z", "completeDate": "2017-09-25T17:49:27.460Z", "originBoardId": 114 }, { "id": 984, "state": "closed", "name": "2017 Sprint 26 SDK", "startDate": "2017-12-17T22:34:59.726Z", "endDate": "2017-12-31T22:34:00.000Z", "completeDate": "2018-01-02T16:57:05.655Z", "originBoardId": 114 }, { "id": 1000, "state": "closed", "name": "2018 Sprint 04 SDK", "startDate": "2018-02-12T04:23:01.913Z", "endDate": "2018-02-26T04:23:00.000Z", "completeDate": "2018-02-26T19:36:01.769Z", "originBoardId": 114 }, { "id": 985, "state": "closed", "name": "2018 Sprint 01 SDK", "startDate": "2017-12-31T16:58:54.631Z", "endDate": "2018-01-14T16:58:00.000Z", "completeDate": "2018-01-17T22:44:27.028Z", "originBoardId": 114 }, { "id": 939, "state": "closed", "name": "2017 Sprint 17 SDK", "startDate": "2017-08-13T23:08:29.095Z", "endDate": "2017-08-27T23:08:00.000Z", "completeDate": "2017-08-27T21:10:54.125Z", "originBoardId": 114 }, { "id": 126, "state": "closed", "name": "2018 Sprint 05 SDK", "startDate": "2018-02-25T19:38:08.926Z", "endDate": "2018-03-11T18:38:00.000Z", "completeDate": "2018-03-11T22:06:01.520Z", "originBoardId": 100 } ], "comment": { "comments": [ { "id": "425996", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I was not able to reproduce this, but I remember we are pushing to introduce new way of styling UI components by XAML directly (TIMOB-24984). I hope this results better rendering on this.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-08-07T05:20:28.000+0000", "updated": "2017-08-07T05:20:28.000+0000" }, { "id": "427443", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~rramirez] As of 6.2.0, we introduced new XAML styling capability with Titanium UI components (TIMOB-24984). Could you give it a try and see if this rendering issue is fixed or not? (See [XAML example here|https://github.com/appcelerator/titanium_mobile_windows/pull/1066] for details)\r\n\r\nIt's already available on our nightly build:\r\n\r\n{code}\r\nappc ti sdk install --branch 6_2_X 6.2.0.v20170830125819\r\n{code}\r\n", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-08-31T07:42:56.000+0000", "updated": "2017-08-31T07:42:56.000+0000" }, { "id": "427988", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I was not able to reproduce this, but I would think this is not our bug because we do not implement any special rendering for Button border such as custom rendering or something.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-09-18T01:43:35.000+0000", "updated": "2017-09-18T01:43:35.000+0000" }, { "id": "428760", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Customer response \r\n\r\nWell, we're testing in a ws-local app, in a development computer, and yes, it's been tested in three different computers by now.\r\n\r\nAre you running the app several times in a row? Say... 8, 10.", "updateAuthor": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-05T22:00:18.000+0000", "updated": "2017-10-05T22:00:18.000+0000" }, { "id": "429581", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~kiguchi] any update here ?\r\n", "updateAuthor": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-25T20:04:35.000+0000", "updated": "2017-10-25T20:04:35.000+0000" }, { "id": "429639", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~rramirez] I was running it like 20 times but I still can not reproduce this. How about leveraging Hyperloop Button for a workaround? It works quite similar to Titanium Button like below.\r\n\r\nhttps://github.com/appcelerator/hyperloop-examples/blob/master/app/controllers/windows/button.js", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-10-26T02:41:52.000+0000", "updated": "2017-10-26T02:41:52.000+0000" }, { "id": "429697", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~rramirez] I created an app with a single button and set the properties as you have above, but I was not able to reproduce it. I tried to get the app from the Box link you provided, but I get an error saying that the \"shared file has been removed or is unavailable to you\". Would you be able to email the sample app that was in the link?", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-26T20:33:34.000+0000", "updated": "2017-10-26T20:34:13.000+0000" }, { "id": "429855", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-30T18:53:30.000+0000", "updated": "2017-10-30T18:53:30.000+0000" }, { "id": "434215", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Does customer still have this issue? Do we have sample apps or screen recordings that reproduces the issue? I have one customer app (provided by TIMOB-25639) but I haven't see this issue either.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-02-08T03:45:03.000+0000", "updated": "2018-02-08T03:45:03.000+0000" }, { "id": "434999", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I would resolve this as \"Cannot Reproduce\" for now because no one in the team can reproduce it. Is this still the issue? It is greatly appreciated if there's reproducible sample code for this.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-02-28T13:20:44.000+0000", "updated": "2018-02-28T13:20:44.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }