{ "id": "172738", "key": "TIMOB-26650", "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": "20412", "name": "Release 8.1.0", "archived": false, "released": true, "releaseDate": "2019-08-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-01-22T12:43:46.000+0000", "created": "2018-12-13T15:44:44.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "20183", "description": "", "name": "Release 7.4.0", "archived": false, "released": true, "releaseDate": "2018-09-17" }, { "id": "20238", "description": "", "name": "Release 7.5.0", "archived": false, "released": true, "releaseDate": "2018-11-15" } ], "issuelinks": [], "assignee": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "updated": "2019-01-29T12:28: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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Example code:\r\n{code:js}\r\nvar image = Ti.UI.createView({\r\nwidth: 300,\r\nheight: 300,\r\nbackgroundColor: \"#fff\",\r\nborderRadius: 5\r\n});\r\n \r\n//$.index.add(image);\r\nsetTimeout(function(){\r\nvar newImage = Ti.UI.createImageView({\r\nimage: image.toImage(),\r\nbottom: 1\r\n});\r\n$.index.add(newImage);\r\n \r\n}, 1000);\r\n{code}\r\n\r\nThis won't display anything, though an imageview is added after a second, it is just empty. However, when uncommenting the line to add the first image to the index controller, it does work. \r\n\r\nAlso, when removing any border properties, it will work as well. This includes {{borderRadius}}, {{borderColor}} or {{borderWidth}}.\r\n\r\n*Expected result*: \r\nAll border properties should just work and be displayed in the blob resulting from {{toImage()}}.", "attachment": [], "flagged": false, "summary": "Android: Using toImage on views with border properties not added to UI results in empty blob", "creator": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "444597", "author": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/10540", "updateAuthor": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "created": "2018-12-14T15:14:41.000+0000", "updated": "2018-12-14T15:14:41.000+0000" }, { "id": "445740", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket*, fix verified in SDK version {{8.1.0.v20190128173213}}\r\n\r\nTest and other information can be found at: \r\nhttps://github.com/appcelerator/titanium_mobile/pull/10540", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-01-29T12:28:39.000+0000", "updated": "2019-01-29T12:28:39.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }