{ "id": "102484", "key": "TIMOB-11222", "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": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15273", "description": "2013 Sprint 05 API", "name": "2013 Sprint 05 API", "archived": true, "released": true, "releaseDate": "2013-03-11" }, { "id": "14815", "description": "2013 Sprint 05", "name": "2013 Sprint 05", "archived": true, "released": true, "releaseDate": "2013-03-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-03-14T22:38:59.000+0000", "created": "2012-10-01T21:26:08.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "api", "module_views", "qe-testadded" ], "versions": [ { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" } ], "issuelinks": [ { "id": "22890", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "93002", "key": "TIMOB-9469", "fields": { "summary": "Android: TiUIView does not clip children", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "22891", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "105114", "key": "TIMOB-11800", "fields": { "summary": "TIAPI: Rework borders for views", "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": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2013-10-03T07:01:09.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" } ], "attachment": [ { "id": "32179", "filename": "Screen Shot 2012-10-01 at 1.53.46 PM.png", "author": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "created": "2012-10-01T21:26:08.000+0000", "size": 24659, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Aliasing occurs on a view if border width is set to anything less than the entire height or width", "creator": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "environment": "Platform OS: Android\r\nTitanium sdk: 2.1.3.RC", "comment": { "comments": [ { "id": "227653", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This should be resolved as a part of TIMOB-11800", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-16T06:07:12.000+0000", "updated": "2012-11-16T06:07:12.000+0000" }, { "id": "241462", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Additional test case\r\n{code}\r\nvar win1 = Ti.UI.createWindow({\r\n backgroundColor : 'white'\r\n});\r\nvar container1 = Ti.UI.createView({\r\n backgroundImage:'KS_nav_ui.png',\r\n backgroundRepeat:true,\r\n\r\n});\r\nwin1.add(container1);\r\n\r\n//Border + Background\r\nvar loadingIndicatorView1 = Ti.UI.createView({\r\n backgroundColor : 'black',\r\n borderColor : 'black',\r\n borderWidth : 20,\r\n opacity : .5,\r\n top : 5,\r\n left:5,\r\n width : '40%',\r\n height : '30%',\r\n});\r\n\r\nvar smallView1 = Ti.UI.createView({\r\n width : 50,\r\n height : 50,\r\n backgroundColor : 'red'\r\n});\r\nloadingIndicatorView1.add(smallView1);\r\ncontainer1.add(loadingIndicatorView1);\r\n\r\n//Background Only\r\nvar loadingIndicatorView2 = Ti.UI.createView({\r\n backgroundColor : 'black',\r\n opacity : .5,\r\n top : 5,\r\n right:5,\r\n width : '40%',\r\n height : '30%',\r\n});\r\n\r\nvar smallView2 = Ti.UI.createView({\r\n width : 50,\r\n height : 50,\r\n backgroundColor : 'red'\r\n});\r\nloadingIndicatorView2.add(smallView2);\r\ncontainer1.add(loadingIndicatorView2);\r\n\r\n//Border Only\r\nvar loadingIndicatorView3 = Ti.UI.createView({\r\n borderColor : 'black',\r\n borderWidth : 20,\r\n opacity : .5,\r\n top : '35%',\r\n left:5,\r\n width : '40%',\r\n height : '30%',\r\n});\r\n\r\nvar smallView3 = Ti.UI.createView({\r\n width : 50,\r\n height : 50,\r\n backgroundColor : 'red'\r\n});\r\nloadingIndicatorView3.add(smallView3);\r\ncontainer1.add(loadingIndicatorView3);\r\n\r\n//No Border No Background\r\nvar loadingIndicatorView4 = Ti.UI.createView({\r\n opacity : .5,\r\n top : '35%',\r\n right:5,\r\n width : '40%',\r\n height : '30%',\r\n});\r\n\r\nvar smallView4 = Ti.UI.createView({\r\n width : 50,\r\n height : 50,\r\n backgroundColor : 'red'\r\n});\r\nloadingIndicatorView4.add(smallView4);\r\ncontainer1.add(loadingIndicatorView4);\r\n\r\nvar slider1 = Ti.UI.createSlider({\r\n\tmin:0,\r\n\tmax:1.0,\r\n\tvalue:0.5,\r\n\twidth:'50%',\r\n\ttop:'70%'\r\n})\r\n\r\ncontainer1.add(slider1);\r\n\r\nslider1.addEventListener('change',function(e){\r\n\tvar opacity = e.value;\r\n\tloadingIndicatorView1.opacity = opacity;\r\n\tloadingIndicatorView2.opacity = opacity;\r\n\tloadingIndicatorView3.opacity = opacity;\r\n\tloadingIndicatorView4.opacity = opacity;\r\n})\r\n\r\nvar win2 = Ti.UI.createWindow({\r\n\tbackgroundColor:'white'\r\n})\r\nvar container2 = Ti.UI.createView({\r\n backgroundImage:'KS_nav_views.png',\r\n backgroundRepeat:true,\r\n\r\n});\r\nwin2.add(container2);\r\n\r\nvar imageview = Ti.UI.createImageView({\r\n\twidth:'40%',\r\n\theight:'30%',\r\n\ttop:5,\r\n\topacity:0.5,\r\n\tbackgroundColor:'red',\r\n\timage: \"http://www.catravelservices.com/management/hotels/pictures/Mawamba_lodge_nature.jpg\"\r\n})\r\n\r\ncontainer2.add(imageview);\r\n\r\nvar button = Ti.UI.createButton({\r\n\twidth:'40%',\r\n\theight:'20%',\r\n\ttop:'35%',\r\n\topacity:0.5,\r\n\tbackgroundColor:'red',\r\n\ttitle:'I am Button'\r\n})\r\ncontainer2.add(button);\r\n\r\nvar label = Ti.UI.createLabel({\r\n\twidth:'40%',\r\n\theight:'20%',\r\n\ttop:'60%',\r\n\topacity:0.5,\r\n\tbackgroundColor:'red',\r\n\tcolor:'black',\r\n\tfont:{fontSize:'20dp', fontWeight:'bold'},\r\n\ttext:'I am a label'\r\n})\r\ncontainer2.add(label);\r\n\r\nvar slider2 = Ti.UI.createSlider({\r\n\tmin:0,\r\n\tmax:1.0,\r\n\tvalue:0.5,\r\n\twidth:'50%',\r\n\ttop:'85%'\r\n})\r\n\r\ncontainer2.add(slider2);\r\n\r\nslider2.addEventListener('change',function(e){\r\n\tvar opacity = e.value;\r\n\timageview.opacity = opacity;\r\n\tbutton.opacity = opacity;\r\n\tlabel.opacity = opacity;\r\n})\r\nvar tab1 = Ti.UI.createTab({\r\n\ttitle:'VIEWS',\r\n\twindow:win1\r\n})\r\nvar tab2 = Ti.UI.createTab({\r\n\ttitle:'WIDGETS',\r\n\twindow:win2\r\n})\r\n\r\nvar tabGroup = Ti.UI.createTabGroup()\r\ntabGroup.addTab(tab1);\r\ntabGroup.addTab(tab2);\r\n\r\ntabGroup.open();\r\n\r\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-03-09T00:16:35.000+0000", "updated": "2013-03-09T19:41:36.000+0000" }, { "id": "241492", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending \r\nhttps://github.com/appcelerator/titanium_mobile/pull/3948", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-03-09T19:50:10.000+0000", "updated": "2013-03-09T19:50:10.000+0000" }, { "id": "241493", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Note to QE:\n\nMake sure you run this with both hardware acceleration on and off\n\nAlso make sure you test this on devices with API LEVEL on both side of honeycomb (11)\n\nMy test devices were S2 (2.3.6), XT890(4.0.4), S3(4.1.1)", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-03-09T19:51:08.000+0000", "updated": "2013-03-09T19:51:08.000+0000" }, { "id": "251259", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Views are rendering without aliasing.Tested it with both hardware acceleration ON/OFF.\r\nUsed environment for verification:\r\nSDK - 3.1.0.GA\r\nAppcelerator Studio : 3.1.1.201305072102\r\nDevices : Samsung Galaxy Nexus Android 4.0.2 and Samsung GALAXY Note Android 2.3.6", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-10T09:02:43.000+0000", "updated": "2013-05-10T09:02:43.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }