{ "id": "153367", "key": "TIMOB-20113", "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": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-12-15T08:19:35.000+0000", "created": "2015-11-22T08:32:48.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android" ], "versions": [ { "id": "17532", "name": "Release 5.1.1", "archived": false, "released": true, "releaseDate": "2015-11-24" } ], "issuelinks": [ { "id": "50116", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "148681", "key": "TIMOB-19011", "fields": { "summary": "Android: MapView is blank if the container view has rounded borders", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2017-05-12T19:48:24.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": "{code}\r\nvar size = 400;\r\n\r\nvar view = Ti.UI.createView({\r\n zIndex: 0,\r\n \r\n backgroundColor: 'green',\r\n opacity: 0.7,\r\n\r\n borderColor: 'green',\r\n borderWidth: size / 2,\r\n borderRadius: size / 2,\r\n\r\n width: size,\r\n height: size,\r\n\r\n left: 50,\r\n top: 5,\r\n});\r\n$.index.add(view);\r\n\r\nsize = 490;\r\n\r\nvar view = Ti.UI.createView({\r\n zIndex: 0,\r\n \r\n backgroundColor: 'red',\r\n opacity: 0.7,\r\n\r\n borderColor: 'red',\r\n borderWidth: size / 2,\r\n borderRadius: size / 2,\r\n\r\n width: size,\r\n height: size,\r\n\r\n left: 50,\r\n top: 150,\r\n});\r\n$.index.add(view);\r\n\r\nvar view = Ti.UI.createView({\r\n zIndex: 0,\r\n \r\n backgroundColor: 'blue',\r\n opacity: 0.7,\r\n\r\n width: size,\r\n height: size,\r\n\r\n left: 50,\r\n top: 300,\r\n});\r\n$.index.add(view);\r\n\r\n$.index.open();\r\n{code}", "attachment": [ { "id": "57584", "filename": "ViewSizeTest.jpg", "author": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "created": "2015-11-22T08:31:48.000+0000", "size": 91822, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "Android: Rounded view is not being shown if its size more than screen size", "creator": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "subtasks": [], "reporter": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "environment": "Win, CLI version 5.0.5, Titanium SDK version 4.0.0.GA", "closedSprints": [ { "id": 536, "state": "closed", "name": "2015 Sprint 25 SDK", "startDate": "2015-12-05T01:30:40.415Z", "endDate": "2015-12-19T01:30:00.000Z", "completeDate": "2015-12-29T03:19:42.127Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "372973", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Managed to reproduce with this message in the logs:-\r\n{code}\r\n[WARN] : Resources: Converting to string: TypedValue{t=0x5/d=0x2401 a=1 r=0x10500ce}\r\n[WARN] : Resources: Converting to string: TypedValue{t=0x5/d=0x3001 a=1 r=0x10500d0}\r\n[WARN] : View: View too large to fit into drawing cache, needs 23040000 bytes, only 8294400 available\r\n{code}\r\n\r\nand\r\n\r\n{code}\r\n12-15 02:58:07.164 14553 14553 W View : TiBorderWrapperView not displayed because it is too large to fit into a software layer (or drawing cache), needs 31360000 bytes, only 14745600 available\r\n12-15 02:58:07.164 14553 14553 W View : TiBorderWrapperView not displayed because it is too large to fit into a software layer (or drawing cache), needs 31360000 bytes, only 14745600 available\r\n{code}", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-12-15T07:59:53.000+0000", "updated": "2015-12-15T08:09:23.000+0000" }, { "id": "372976", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Classic app.js to reproduce:-\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n title : 'Test',\r\n backgroundColor: 'black'\r\n});\r\n \r\n \r\nvar size = 400;\r\n \r\nvar view = Ti.UI.createView({\r\n zIndex: 0,\r\n \r\n backgroundColor: 'green',\r\n opacity: 0.7,\r\n \r\n borderColor: 'green',\r\n borderWidth: size / 2,\r\n borderRadius: size / 2,\r\n \r\n width: size,\r\n height: size,\r\n \r\n left: 50,\r\n top: 5,\r\n});\r\nwin.add(view);\r\n \r\nsize = 800;\r\n \r\nvar view = Ti.UI.createView({\r\n zIndex: 0,\r\n \r\n backgroundColor: 'red',\r\n opacity: 0.7,\r\n \r\n borderColor: 'red',\r\n borderWidth: size / 2,\r\n borderRadius: size / 2,\r\n \r\n width: size,\r\n height: size,\r\n \r\n left: 50,\r\n top: 150,\r\n});\r\nwin.add(view);\r\n \r\nvar view = Ti.UI.createView({\r\n zIndex: 0,\r\n \r\n backgroundColor: 'blue',\r\n opacity: 0.3,\r\n \r\n width: size,\r\n height: size,\r\n \r\n left: 50,\r\n top: 300,\r\n});\r\nwin.add(view);\r\n \r\nwin.open();\r\n{code}", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-12-15T08:09:10.000+0000", "updated": "2015-12-15T08:09:10.000+0000" }, { "id": "372977", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Tested with 5_2_0. This seems to be working well.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-12-15T08:18:31.000+0000", "updated": "2015-12-15T08:18:31.000+0000" }, { "id": "372978", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Resolving this as Fixed as the 5_2_0 branch faces no issues with this.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-12-15T08:19:57.000+0000", "updated": "2015-12-15T08:19:57.000+0000" }, { "id": "374710", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified with latest 5.2.0 SDK & issue is not seen.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 4.5.0.201601131150\r\nTi SDK : 5.2.0.v20160114021251\r\nTi CLI : 5.0.5\r\nAlloy : 1.7.26\r\nMAC Yosemite : 10.10.5\r\nAppc NPM : 4.2.2\r\nAppc CLI : 5.1.0\r\nNode: v0.12.27\r\nNexus 6P - Android 6.0\r\nNexus 5 - Android 5.1.1\r\nGenymotion Emulator: Android 5.1.0", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-01-15T19:26:01.000+0000", "updated": "2016-01-15T19:26:01.000+0000" }, { "id": "392930", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "With 5.4.0.v20160802165655 the red circle is gone again:\r\n\r\n{code}\r\n[WARN] View: TiBorderWrapperView not displayed because it is too large to fit into a software layer (or drawing cache), needs 23040000 bytes, only 8294400 available\r\n[WARN] View: TiBorderWrapperView not displayed because it is too large to fit into a software layer (or drawing cache), needs 23040000 bytes, only 8294400 available\r\n[WARN] View: TiBorderWrapperView not displayed because it is too large to fit into a software layer (or drawing cache), needs 23040000 bytes, only 8294400 available\r\n{code}", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-11T07:52:34.000+0000", "updated": "2016-08-11T07:52:34.000+0000" }, { "id": "396901", "author": { "name": "jceaser", "key": "jceaser", "displayName": "Joshua A. Ceaser", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I am seeing this issue in 5.3.1 and 5.4 as well. I have a view with borderRadius 2dp and the content is larger than the screen. It doesn't happen on all android devices just the smaller ones.", "updateAuthor": { "name": "jceaser", "key": "jceaser", "displayName": "Joshua A. Ceaser", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-09-22T02:39:35.000+0000", "updated": "2016-09-22T02:39:35.000+0000" }, { "id": "396905", "author": { "name": "jceaser", "key": "jceaser", "displayName": "Joshua A. Ceaser", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I also have the same issue in 5.5.", "updateAuthor": { "name": "jceaser", "key": "jceaser", "displayName": "Joshua A. Ceaser", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-09-22T03:14:38.000+0000", "updated": "2016-09-22T03:14:38.000+0000" }, { "id": "401000", "author": { "name": "jeffatstepup", "key": "jeffatstepup", "displayName": "Jeff Antram", "active": true, "timeZone": "Europe/London" }, "body": "+1 - Same issue on 5.5.1", "updateAuthor": { "name": "jeffatstepup", "key": "jeffatstepup", "displayName": "Jeff Antram", "active": true, "timeZone": "Europe/London" }, "created": "2016-11-15T20:25:35.000+0000", "updated": "2016-11-15T20:25:35.000+0000" }, { "id": "403477", "author": { "name": "jonesdhtx", "key": "jonesdhtx", "displayName": "David Jones", "active": true, "timeZone": "America/Chicago" }, "body": "+1 - Having issue on 6.0.0.GA", "updateAuthor": { "name": "jonesdhtx", "key": "jonesdhtx", "displayName": "David Jones", "active": true, "timeZone": "America/Chicago" }, "created": "2016-12-16T05:53:12.000+0000", "updated": "2016-12-16T05:53:12.000+0000" }, { "id": "419547", "author": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "body": "lol", "updateAuthor": { "name": "fixplease", "key": "fixplease", "displayName": "Fix Please", "active": true, "timeZone": "Europe/Luxembourg" }, "created": "2017-05-11T12:10:04.000+0000", "updated": "2017-05-11T12:10:04.000+0000" }, { "id": "419624", "author": { "name": "cliff_stander", "key": "cliff_stander", "displayName": "Mike Stancliffe", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Seeing this as well.... 5.5.1\r\n", "updateAuthor": { "name": "cliff_stander", "key": "cliff_stander", "displayName": "Mike Stancliffe", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-12T19:48:24.000+0000", "updated": "2017-05-12T19:48:24.000+0000" } ], "maxResults": 19, "total": 19, "startAt": 0 } } }