{ "id": "80465", "key": "TIMOB-5329", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2016-08-22T17:23:47.000+0000", "created": "2011-09-21T13:29:00.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "2.1", "Android", "image", "webview" ], "versions": [ { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-16T21:37:50.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": "Step 1: Add the attached image (checked.png) to your project \r\nStep 2: Run the app below\r\nStep 3: Notice the image in the webview does not display properly\r\n\r\nNotes: Image is displayed properly with Google API's 2.2 and 2.3.3 as well as a Nexus One running 2.2.2. It seems that this is a 2.1 issue.\r\n\r\nIssue is related to TIMOB-4750\r\n\r\n{code:title=app.js|borderStyle=solid}\r\n\r\nvar win = Titanium.UI.createWindow({});\r\nvar iv = Ti.UI.createImageView({\r\n image: 'checked.png',\r\n top: 100\r\n});\r\nvar webview = Titanium.UI.createWebView({\r\n html: '', \r\n});\r\nwin.add(webview);\r\nwin.add(iv);\r\nwin.open();\r\n{code}", "attachment": [ { "id": "22997", "filename": "checked.png", "author": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-21T13:29:00.000+0000", "size": 31579, "mimeType": "image/png" }, { "id": "22998", "filename": "correct.png", "author": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-21T13:29:00.000+0000", "size": 43503, "mimeType": "image/png" }, { "id": "22999", "filename": "Google APIs 2_1update1.png", "author": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-21T13:29:00.000+0000", "size": 38540, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: images in a project do not show correctly in a webView", "creator": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio build: 1.0.4.201108101535, SDK 1.8.0v20110920000211, Android Emulator Google API's 2.1-update1", "comment": { "comments": [ { "id": "393796", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "It appears to work using Titanium SDK master (currently 6.1.0) and an Android 6.0 (API 23) emulator.\r\n\r\nFor a best practice, you should set a {{width}} and {{height}} on the HTML {{}} tag and then I'm sure it will work as expected.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-22T17:23:47.000+0000", "updated": "2016-08-22T17:23:47.000+0000" }, { "id": "413140", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T21:37:50.000+0000", "updated": "2017-03-16T21:37:50.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }