{ "id": "112992", "key": "TIMOB-13602", "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": "15400", "description": "2013 Sprint 08 API", "name": "2013 Sprint 08 API", "archived": true, "released": true, "releaseDate": "2013-04-22" }, { "id": "15106", "description": "2013 Sprint 08", "name": "2013 Sprint 08", "archived": true, "released": true, "releaseDate": "2013-04-22" }, { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-05-22T22:26:10.000+0000", "created": "2013-04-17T13:48:59.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "regression" ], "versions": [], "issuelinks": [ { "id": "28453", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "113750", "key": "TIMOB-13751", "fields": { "summary": "Android: NinePatch images not respected", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "27892", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "inwardIssue": { "id": "110636", "key": "TIMOB-12961", "fields": { "summary": "Android: TiNinePatchHelper crash after upgrading to 3.0.2", "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": "28461", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "113880", "key": "TIMOB-13769", "fields": { "summary": "Android: Nine-patch image does not work on emulator when fastdev is enabled", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-05-22T22:26:10.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": "9-patch image working on SDK 3.0.2.GA is not working on 3.1.0.GA.\r\n\r\nI can't find any problem with the image file.\r\n\r\nThe code I used:\r\n{code:title=app.js|borderStyle=solid}\r\n\tvar win = Ti.UI.createWindow({\r\n\t backgroundColor: 'white',\r\n\t exitOnClose: true,\r\n\t fullscreen: false,\r\n\t title: 'Click button to test'\r\n\t});\r\n\t \r\n\tvar button = Ti.UI.createButton({\r\n\t backgroundImage: '/images/bt_start.png',\r\n\t backgroundSelectedImage:'/images/bt_start_sel.png',\r\n\t title: 'Click me!',\r\n\t top: 10,\r\n\t width: 300,\r\n\t height: 200\r\n\t});\r\n\tbutton.addEventListener('click',function(e){\r\n\t Ti.API.info(\"You clicked the button\");\r\n\t});\r\n\twin.add(button);\r\n\twin.open();\r\n{code}\r\n\r\n'bt_start.9.png' is attached.\r\n\r\nRunning that will show a result like 'scr.jpg'\r\n\r\nWhen I changed the SDK to 3.0.2, it worked again.\r\n\r\nThank you.", "attachment": [ { "id": "38857", "filename": "05_21_13_max.png", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-21T23:30:50.000+0000", "size": 29843, "mimeType": "image/png" }, { "id": "38858", "filename": "05_21_13.png", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-21T23:30:50.000+0000", "size": 31353, "mimeType": "image/png" }, { "id": "37562", "filename": "bt_start.9.png", "author": { "name": "adreamer21", "key": "adreamer21", "displayName": "Sungil Kim", "active": true, "timeZone": "Asia/Tokyo" }, "created": "2013-04-17T13:48:59.000+0000", "size": 1700, "mimeType": "image/png" }, { "id": "38859", "filename": "fixed.png", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-21T23:30:50.000+0000", "size": 27525, "mimeType": "image/png" }, { "id": "37563", "filename": "scr.jpg", "author": { "name": "adreamer21", "key": "adreamer21", "displayName": "Sungil Kim", "active": true, "timeZone": "Asia/Tokyo" }, "created": "2013-04-17T13:48:59.000+0000", "size": 157762, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "Android: nine-patch image is not displayed properly", "creator": { "name": "adreamer21", "key": "adreamer21", "displayName": "Sungil Kim", "active": true, "timeZone": "Asia/Tokyo" }, "subtasks": [], "reporter": { "name": "adreamer21", "key": "adreamer21", "displayName": "Sungil Kim", "active": true, "timeZone": "Asia/Tokyo" }, "environment": "Titanium SDK version: 3.1.0 (04/15/13 18:45 57634ef)\r\nJavascript Engine: V8\r\nPlatform & version: Android 2.2(Emulator), 4.1.2(Device)\r\nDevice Details: Android Emulator, LG Optimus LTE 2\r\nHost Operating System: OS X 10.8.3\r\nTitanium Studio version: 3.1.0.201304151600", "comment": { "comments": [ { "id": "247931", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "body": "Wrong behavior can be seen in Kitchen Sink by going to:\r\n\r\nControls | Slider | Min/Max Range", "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-04-17T14:53:59.000+0000", "updated": "2013-04-17T14:53:59.000+0000" }, { "id": "248012", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/4179\nFor FR:\n1. Run the above test case. The button image should show correctly (without the extra black lines in the border).\n2. Run KS->Controls->Slider->Min/Max Range. The slider should show correctly.\n3. Run the two test cases in TIMOB-12961.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-17T21:24:36.000+0000", "updated": "2013-04-17T21:24:36.000+0000" }, { "id": "248629", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "3_1_X PR: https://github.com/appcelerator/titanium_mobile/pull/4197", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-22T17:43:47.000+0000", "updated": "2013-04-22T17:43:47.000+0000" }, { "id": "249251", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This looks fixed on device, but in the 2.2 emulator I still see the issue. Will continue to investigate\n", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-26T23:51:26.000+0000", "updated": "2013-04-26T23:51:26.000+0000" }, { "id": "250070", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with: \r\n\r\nSDK:3.1.1.v20130502180055\r\nAppcelerator Studio: 3.1.1.201305020729\r\nOS: OSX 10.7.5\r\nDevice: HTC desire(4.0.4), android emulator(2.2)\r\nXcode: 4.6\r\n", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-03T10:58:30.000+0000", "updated": "2013-05-03T10:58:30.000+0000" }, { "id": "250182", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Eric's comment:\nthe issue still present in 2.2/4.2/3.2/4.0 emulator. \n\nLooks fixed on devices:\nGalaxy Nexus 4.1.1\nGalaxy S3 4.0.4\nGalaxy S4 4.2.2\nNexus7 4.2.1\n\nSDK, build: 3.1.1.v20130502180055\nAppcelerator Studio, build: 3.1.1.201305022120", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-03T22:54:00.000+0000", "updated": "2013-05-03T22:54:00.000+0000" }, { "id": "250224", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-04T07:07:21.000+0000", "updated": "2013-05-04T07:07:21.000+0000" }, { "id": "250387", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "For clarity, the attached code and image are working as expected on device and emulator. The KitchenSink example with a slider is not working as expected on any emulator we tried with a \"google APIs\" prefix.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-06T20:59:05.000+0000", "updated": "2013-05-06T20:59:05.000+0000" }, { "id": "250444", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The nine-patch image in the test KS->Controls->Slider->Min/Max Range does not work correctly is because \"fastdev\" is enabled by default on emulator. It is not a regression. Already filed a ticket TIMOB-13769 for the fastdev issue.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-06T22:59:11.000+0000", "updated": "2013-05-06T22:59:11.000+0000" }, { "id": "253317", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Appcelerator Studio, build: 3.1.1.201305181057\r\nSDK, billd: 3.1.1.v20130520171545\r\nDevice:\r\n*Nexus 7* Android version: 4.2.1\r\n\r\nI ran in to this issue again on device. Please, see screenshots (05/21/13)", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-21T23:19:04.000+0000", "updated": "2013-05-21T23:27:38.000+0000" }, { "id": "253320", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening,\r\nI can confirm fix in\r\nSDK, build: 3.1.1.v20130502180055 ", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-21T23:27:07.000+0000", "updated": "2013-05-21T23:27:07.000+0000" }, { "id": "253519", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with:\nAppcelerator Studio, build: 3.1.1.201305212055\nSDk, build: 3.1.1.v20130522125041\n\nDevice: Nexus 7(4.2)\n\nCannot reproduce. Please reopen if occurs again.", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-22T22:25:50.000+0000", "updated": "2013-05-22T22:25:50.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }