{ "id": "113372", "key": "TIMOB-13695", "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": "15564", "description": "2013 Sprint 15 API", "name": "2013 Sprint 15 API", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "15567", "description": "2013 Sprint 15", "name": "2013 Sprint 15", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "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-07-25T22:08:45.000+0000", "created": "2013-04-25T06:58:40.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_button", "qe-closed-3.1.2", "qe-testadded" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2013-08-22T11:47:40.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": "*Actual behavior*\r\nSince Ti SDK 3.0 GA, the end cap stretches.\r\n\r\n*Expected behavior*\r\nThe image should not stretch, like it doesn't with 2.1.4 GA.\r\n\r\n*Test case*\r\n{code:javscript} \r\nTi.UI.backgroundColor = 'white';\r\nvar win = Ti.UI.createWindow();\r\nvar selectMenuButton = Ti.UI.createButton({\r\n\tleft : 5,\r\n\tright : 5,\r\n\theight : 31,\r\n\tbackgroundImage : \"arrow_down.png\",\r\n\tbackgroundLeftCap : 1\r\n});\r\nwin.add(selectMenuButton);\r\nwin.open();\r\n{code}", "attachment": [ { "id": "37819", "filename": "arrow_down.png", "author": { "name": "climbd", "key": "climbd", "displayName": "Trevor Borgmeier", "active": true, "timeZone": "America/Chicago" }, "created": "2013-04-25T06:58:40.000+0000", "size": 2067, "mimeType": "image/png" }, { "id": "37818", "filename": "arrow_down-as-rendred-in-iOS.png", "author": { "name": "climbd", "key": "climbd", "displayName": "Trevor Borgmeier", "active": true, "timeZone": "America/Chicago" }, "created": "2013-04-25T06:58:40.000+0000", "size": 3844, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: backgroundLeftCap not stretching a single pixel, but stretching everything to the right of the left cap uniformly", "creator": { "name": "climbd", "key": "climbd", "displayName": "Trevor Borgmeier", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "climbd", "key": "climbd", "displayName": "Trevor Borgmeier", "active": true, "timeZone": "America/Chicago" }, "environment": "iOS 6.1\r\nTi SDK 3.1.x, 3.2.x", "comment": { "comments": [ { "id": "249237", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and confirmed on iOS 6 simulator with Ti SDK 3.1 GA, 3.0.2 GA, 3.0 GA, 2.1.4 GA and 2.1.2 GA. The regression is between 2.1.4 GA and 3.0 GA. Completed and simplified test case.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-26T23:22:59.000+0000", "updated": "2013-04-26T23:22:59.000+0000" }, { "id": "263171", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Not a regression. Expected behavior change. Forgot to update docs. Doing so now.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-07-25T18:15:21.000+0000", "updated": "2013-07-25T18:15:21.000+0000" }, { "id": "263172", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending against master\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4489", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-07-25T18:17:55.000+0000", "updated": "2013-07-25T18:17:55.000+0000" }, { "id": "263175", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Backport to 3_1_X\nhttps://github.com/appcelerator/titanium_mobile/pull/4490", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-07-25T18:27:38.000+0000", "updated": "2013-07-25T18:27:38.000+0000" }, { "id": "265793", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified behaving as expected.\nDocumentation is updated.\n\nTitanium SDK 3.1.2.v20130808180613 \nAlloy 1.2.0-alpha6\nAppcelerator Studio 3.1.2.201308071912\nCLI 3.1.2-alpha\nNode 0.10.13\n\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-09T21:41:45.000+0000", "updated": "2013-08-09T21:41:45.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }