{ "id": "85826", "key": "TIMOB-7507", "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": "12095", "description": "", "name": "Sprint 2012-03", "archived": true, "released": true, "releaseDate": "2012-02-12" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-02-14T23:29:05.000+0000", "created": "2012-02-01T14:37:08.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-testadded", "regression" ], "versions": [ { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "issuelinks": [ { "id": "15096", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "77339", "key": "TIMOB-4900", "fields": { "summary": "view images (for tabs of custom tabBar) not displayed in Tweetanium when FastDev 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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "15101", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "76166", "key": "TIMOB-4757", "fields": { "summary": "Android: ImageView doesn't show the image", "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": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2012-02-14T23:29:05.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": "h4. Problem Description\r\nWhen you create a simple program using a imageview in Ti Studio in Windows, it won't show the image in the android emulator.\r\n\r\nh4. Expected behavior\r\nThe program should show the image in the image view.\r\n\r\nh4. Actual behavior\r\nThe program fails to show the image, complaining with:\r\n\r\nI/AndroidRuntime( 372): NOTE: attach of thread 'Binder Thread #3' failed\r\nE/TiApplication( 373): (KrollRuntimeThread) [1885,2742] APP PROXY: ti.modules.titanium.app.AppModule@43e52740\r\nD/TiAssetHelper( 373): Fetching \"app.js\" with Fastdev...\r\nW/TypeConverter( 373): jsValueToJavaObject returning null\r\nD/skia ( 373): --- SkImageDecoder::Factory returned null\r\nW/TiDrawableReference( 373): (main) [641,3383] Bitmap bounds could not be determined. If bitmap is loaded, it won't be scaled.\r\nD/skia ( 373): --- SkImageDecoder::Factory returned null\r\nI/TiRootActivity( 373): (main) [0,0] checkpoint, on root activity resume. activity = com.negoapps.test2.Test2Activity@43e6a030\r\nW/TiDrawableReference( 373): (main) [89,89] Bitmap bounds could not be determined. If bitmap is loaded, it won't be scaled.\r\nD/skia ( 373): --- SkImageDecoder::Factory returned null\r\n\r\nh4. TestCase\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar logo = Titanium.UI.createImageView({\r\n image: 'logo.png',\r\n top: 0\r\n});\r\nwin.add(logo);\r\n\r\nwin.open();\r\n{code}\r\n\r\nh4. Community Discussion\r\nhttp://developer.appcelerator.com/question/131493/problem-with-imageview\r\n\r\nh4. Log\r\n\r\n\r\nI/AndroidRuntime( 372): NOTE: attach of thread 'Binder Thread #3' failed\r\nE/TiApplication( 373): (KrollRuntimeThread) [1885,2742] APP PROXY: ti.modules.titanium.app.AppModule@43e52740\r\nD/TiAssetHelper( 373): Fetching \"app.js\" with Fastdev...\r\nW/TypeConverter( 373): jsValueToJavaObject returning null\r\nD/skia ( 373): --- SkImageDecoder::Factory returned null\r\nW/TiDrawableReference( 373): (main) [641,3383] Bitmap bounds could not be determined. If bitmap is loaded, it won't be scaled.\r\nD/skia ( 373): --- SkImageDecoder::Factory returned null\r\nI/TiRootActivity( 373): (main) [0,0] checkpoint, on root activity resume. activity = com.negoapps.test2.Test2Activity@43e6a030\r\nW/TiDrawableReference( 373): (main) [89,89] Bitmap bounds could not be determined. If bitmap is loaded, it won't be scaled.\r\nD/skia ( 373): --- SkImageDecoder::Factory returned null\r\n\r\n", "attachment": [], "flagged": false, "summary": "Android: ImageView is broken when compiling project in Windows with FastDev", "creator": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "subtasks": [], "reporter": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "environment": "Titanium SDK version: 1.8.1 \r\nJavascript Engine: V8 \r\nPlatform & version: Android 2.2 \r\nDevice Details: Android emulator \r\nHost Operating Windows 7 ultimate (32 bits) \r\nTitanium Studio version: 1.0.8", "comment": { "comments": [ { "id": "181397", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Tested this on mac, can't reproduce there. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2012-02-01T14:41:45.000+0000", "updated": "2012-02-01T14:41:45.000+0000" }, { "id": "181821", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It occurs on Windows and it is limited to Android emulators with fastdev enabled. There are two known issues: TIMOB-6773 and TIMOB-6714 that relate to images with fastdev. ", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-04T21:41:08.000+0000", "updated": "2012-02-04T21:41:08.000+0000" }, { "id": "181941", "author": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "body": "This issue latest notification was not sent due to JIRA mail setting. Fixed now. Please check the issue for latests changes.", "updateAuthor": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "created": "2012-02-06T06:35:13.000+0000", "updated": "2012-02-06T06:35:13.000+0000" }, { "id": "182164", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Pull request ready\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/1364", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-02-06T18:30:08.000+0000", "updated": "2012-02-06T18:30:08.000+0000" }, { "id": "182587", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested on win 7 with rhino/v8 with fastdev running with 1.9.0.v20120209094635", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-09T10:36:50.000+0000", "updated": "2012-02-09T10:36:50.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }