{ "id": "93095", "key": "TIMOB-9497", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-06-13T17:01:51.000+0000", "created": "2012-06-12T09:25:33.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "qe-and060112", "regression" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [ { "id": "17768", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "92948", "key": "TIMOB-9445", "fields": { "summary": "Android: Views - Missing color for View 3 ", "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 } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T22:40:47.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": "Clicking on the button with backgroundImage flickers on click on the button. The buttons is hidden till the touch end happens.\r\n\r\nRegression. This does not happen on 2.0.2\r\n\r\nSteps to Reproduce:\r\n1. Create an application with the code below\r\n2. Run the application\r\n3. Click on the button\r\n\r\nActual: The button gets hidden on click event. The button is shown again when touch event ends\r\nExpected: The button should not flicker/hide on click.\r\n\r\nApp.js\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:'white'\r\n});\r\n\t\tvar button = Titanium.UI.createButton({\r\n \t\t\theight:60,\r\n \t\t\twidth:80,\r\n \t\t\tbackgroundImage:'slightlylargerimage.png'\r\n\t\t});\r\n\t\t\r\n\t\twin.add(button);\r\n\t\t\r\n\t\tbutton.addEventListener('click', function() {\r\n\t\t\talert('clicking');\r\n\t\t})\r\nwin.open();\r\n{code}", "attachment": [ { "id": "28285", "filename": "slightlylargerimage.png", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-12T09:25:33.000+0000", "size": 1609, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Button: Button with BackgroundImage flickers on click", "creator": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio: 2.1.0.201206081630\r\nTitanium SDK: 2.1.0.v20120611174309\r\nAndroid Device: Android Tab (V3.2), Android 2.2\r\nRuntime: v8", "comment": { "comments": [ { "id": "198406", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This should be fixed on latest master.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-13T16:54:39.000+0000", "updated": "2012-06-13T16:54:39.000+0000" }, { "id": "198407", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Duplicate of TIMOB-9445.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-13T17:01:51.000+0000", "updated": "2012-06-13T17:01:51.000+0000" }, { "id": "414603", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T22:40:47.000+0000", "updated": "2017-03-21T22:40:47.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }