{ "id": "80263", "key": "TIMOB-5672", "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": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" }, { "id": "14065", "description": "Sprint 2012-17 API", "name": "Sprint 2012-17 API", "archived": true, "released": true, "releaseDate": "2012-08-27" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-12-21T05:46:08.000+0000", "created": "2011-09-13T04:18:20.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "MobileWeb", "api", "qe-testadded" ], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-01-11T00:06:08.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "backgroundImage should stretch over all view.\r\n\r\nCurrent behavior: when property backgroundImage is defined in the object(view, label, button, etc) the image will not stretch to the height and width of the object. \r\n Example: size of background image is 50x50, size of the view is 100x100. Result: image fills only 1/4 of view space.\r\n\r\nExpected behavior: image should be stretched to the whole object.\r\n\r\nHow to reproduce: run KS_HTML5 >> Table View >> Table View(Layout 2) >> look at the images of photo and calendar in the rows. They should be compressed to the view size.", "attachment": [ { "id": "30626", "filename": "btn_ship_dwn-2x.png", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-21T13:29:16.000+0000", "size": 416, "mimeType": "image/png" } ], "flagged": false, "summary": "MobileWeb: backgroundImage should stretch over all view.", "creator": { "name": "mvasko", "key": "mvasko", "displayName": "Misha Vasko", "active": true, "timeZone": "Europe/Kiev" }, "subtasks": [], "reporter": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "215395", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "h4. Reopening as a regression:\r\nWorked in 2.2.0.v20120710122120\r\nBroken in 2.2.0.v20120821095711\r\nUsing Chrome Version 21.0.1180.79\r\n\r\nh4. Steps to repro:\r\n1. copy the attached image into your project\r\n2. Run the code below\r\n3. notice that the image is not stretched over the whole view as it should be\r\n\r\n{code:js}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white'\r\n});\r\nwin.open();\r\nvar view = Ti.UI.createView({\r\n\tbackgroundImage: 'btn_ship_dwn-2x.png'\r\n});\r\nwin.add(view);\r\n{code}", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-21T13:27:39.000+0000", "updated": "2012-08-21T13:27:39.000+0000" }, { "id": "215491", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolved by: https://github.com/appcelerator/titanium_mobile/pull/2793", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-21T16:50:58.000+0000", "updated": "2012-08-21T16:50:58.000+0000" }, { "id": "217470", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fix on:\r\nTitanium studio : 2.1.1.201207271312\r\nSDK version : 2.2.0.v20120830141234\r\nChrome 21.0.xx\r\nFirefox 15\r\nSafari 6.0\r\nAndroid 4.0.4 default browser,chrome 18.0.xx ,firefox 15.0\r\nIphone 5.1.1 mobile safari", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-09-04T11:49:15.000+0000", "updated": "2012-09-04T11:49:15.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }