{ "id": "84600", "key": "TIMOB-7034", "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": "12094", "description": "", "name": "Sprint 2012-02", "archived": true, "released": true, "releaseDate": "2012-01-29" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-01-23T16:50:08.000+0000", "created": "2012-01-09T11:28:45.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "module_button", "parity", "qe-testadded" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "14522", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "84773", "key": "TIMOB-7118", "fields": { "summary": "iOS: Button - Animation not working when both the \"backgroundImage\" and the \"backgroundSelectedImage\" are set", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "14600", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "84773", "key": "TIMOB-7118", "fields": { "summary": "iOS: Button - Animation not working when both the \"backgroundImage\" and the \"backgroundSelectedImage\" are set", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2012-10-18T00:46:26.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h4. PROBLEM DESCRIPTION\r\nWhen both the \"backgroundImage\" and the \"backgroundSelectedImage\" are set in iOS button, the customized white splash for visual feedback should be disabled.\r\n\r\nh4. Repro Steps:\r\nStep 1: add the attached image to your Resources folder\r\nStep 2: run the code below\r\nStep 3: click the button\r\n\r\n{code}\r\nvar win = Titanium.UI.createWindow(); \r\n\r\nvar button = Ti.UI.createButton({\r\n width:207, \r\n height:80, \r\n top:0, \r\n left:0,\r\n backgroundColor:'#000',\r\n color:'#000',\r\n backgroundSelectedImage:'testButton2.png',\r\n backgroundImage: 'testButton.png',\r\n});\r\n\r\nbutton.addEventListener('click',function(){\r\n\tTi.API.info('clicked button');\r\n});\r\n\r\nwin.add(button);\r\nwin.open();\r\n{code}\r\n", "attachment": [ { "id": "25069", "filename": "animation.png", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2012-01-13T16:30:44.000+0000", "size": 33337, "mimeType": "image/png" }, { "id": "25012", "filename": "testButton.png", "author": { "name": "qgao", "key": "qgao", "displayName": "Qing Gao", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-11T16:33:56.000+0000", "size": 3473, "mimeType": "image/png" }, { "id": "25013", "filename": "testButton2.png", "author": { "name": "qgao", "key": "qgao", "displayName": "Qing Gao", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-11T16:33:56.000+0000", "size": 3708, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Button - when both the \"backgroundImage\" and the \"backgroundSelectedImage\" are set, the customized white splash should be disabled.", "creator": { "name": "qgao", "key": "qgao", "displayName": "Qing Gao", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "qgao", "key": "qgao", "displayName": "Qing Gao", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "XCode4.2, iOS5 Simulator", "comment": { "comments": [ { "id": "178997", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello,\r\nthe behavior in 1.9 is to provide a kind of animation going from yellow to red with a nice white spot in the center. Wondering if it's an optical effect because the colors. \r\n\r\nBest,\r\nMauro ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2012-01-11T16:45:05.000+0000", "updated": "2012-01-11T16:45:05.000+0000" }, { "id": "179285", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing issue\r\n\r\nTested with Ti Studio 1.0.8.201201101928\r\nTi Mob SDK 1.9.0.v20120111233134\r\nOSX Lion\r\niPhone 4S\r\n\r\nExpected behavior of feedback when pressing button is shown", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-13T16:26:12.000+0000", "updated": "2012-01-13T16:26:12.000+0000" }, { "id": "179311", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening/closing to add/remove labels", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-13T17:47:20.000+0000", "updated": "2012-01-13T17:47:20.000+0000" }, { "id": "224133", "author": { "name": "jamesh", "key": "jamesh", "displayName": "James", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This fixes the issue of being able to disable the Splash. But I am now unable to {color:red}*enable*{color} the splash. Its a very important part of our app. Since upgrading to 2.0 from 1.8 our app won't show the splash :-(\r\n\r\nhere is more info on Q&A\r\n\r\nhttps://developer.appcelerator.com/question/143522/", "updateAuthor": { "name": "jamesh", "key": "jamesh", "displayName": "James", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-18T00:46:26.000+0000", "updated": "2012-10-18T00:46:26.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }