{ "id": "85672", "key": "TIMOB-7717", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-02-27T12:35:07.000+0000", "created": "2012-01-29T05:38:55.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api" ], "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": "15282", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "63285", "key": "TIMOB-2653", "fields": { "summary": "Android: Complex/autogenerated remote image URLs fail, whereas simple URLs succeed", "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": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-31T22:39:16.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": "h2. Problem\r\n\r\nA standard Imageview using a remote image with a complex/autogenerated URL is not rendered on any of the test devices.\r\n\r\nCould it have to do with the lack of a file extension in the URL?\r\n\r\nNote that the emulator does not exhibit this issue, and iOS works fine as well.\r\n\r\nh2. Test case\r\n\r\n{code:lang=javascript|title=app.js}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor:'white',\r\n fullscreen:false,\r\n title: 'Complex URL Remote ImageView Demo'\r\n});\r\n\r\nvar imgwimage = Ti.UI.createImageView({\r\n image:'http://www.atsforums.com/forums/attachment.php?attachmentid=216&stc=1&d=1326113517'\r\n});\r\n\r\nwin.add(imgwimage);\r\nwin.open();\r\n{code}\r\n\r\nh2. Logs\r\n\r\nlogcat generated from an HTC Sensation\r\n\r\n{code:lang=none|title=console}\r\nD/SurfaceFlinger( 235): [DISP] removeAbnormalLayer\r\nD/SurfaceFlinger( 235): [DISP] layer 0x852918(Layer, 235) 1 1\r\nD/dalvikvm(16427): GC_EXPLICIT freed 79K, 46% free 3184K/5831K, external 20K/532K, paused 161ms\r\nI/ActivityManager( 235): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.appcelerator.testing10/.Testing10Activity } from pid 500\r\nV/HtcAppUsageStats( 235): handleMessage msg=1\r\nV/HtcAppUsageStats( 235): (launch app, package): (testing10, com.appcelerator.testing10)\r\nD/PhoneWindow( 500): couldn't save which view has focus because the focused view com.android.internal.policy.impl.PhoneWindow$DecorView@40587588 has no id.\r\nD/SensorService( 235): enable: get sensor name = MPL accel\r\nD/Sensors ( 235): handle : 4 en: 1, v07-Correct timerirq initial delay setting\r\nD/Sensors ( 235): mEnabled = 0x10\r\nI/ ( 235): mpu3050_resume: Resuming to 0070\r\nD/SensorService( 235): pid=235, uid=1000\r\nW/TiApplication(16677): (main) [6533,8304] activity stack is emtpy, unable to get current activity\r\nI/TiRootActivity(16677): (main) [0,0] checkpoint, on root activity create, savedInstanceState: null\r\nD/Database(16677): dbopen(): path = /data/data/com.appcelerator.testing10/databases/tianalytics.db, flag = 6, file size = 6144\r\nD/Database(16677): dbopen(): path = /data/data/com.appcelerator.testing10/databases/tianalytics.db, mode: wal, disk free size: 361 M, handle: 0x3e9ce0\r\nD/Database(16677): dbclose(): path = /data/data/com.appcelerator.testing10/databases/tianalytics.db, handle = 0x3e9ce0\r\nD/Database(16677): dbopen(): path = /data/data/com.appcelerator.testing10/databases/tianalytics.db, flag = 6, file size = 6144\r\nD/Database(16677): dbopen(): path = /data/data/com.appcelerator.testing10/databases/tianalytics.db, mode: wal, disk free size: 361 M, handle: 0x3d8e18\r\nW/dalvikvm( 500): disableGcForExternalAlloc: false\r\nW/libagl ( 235): handle fade alpha 7\r\nW/libagl ( 235): handle fade alpha 16\r\nD/SurfaceFlinger( 235): [DISP] purgatorizeLayer_l 0x1484538 4\r\nD/SurfaceFlinger( 235): [DISP] purgatorizeLayer_l 0x8fca18 4\r\nD/Database(16677): dbclose(): path = /data/data/com.appcelerator.testing10/databases/tianalytics.db, handle = 0x3d8e18\r\nW/libagl ( 235): handle fade alpha 31\r\nD/SurfaceFlinger( 235): [DISP] remove 0x8fca18 2\r\nD/SurfaceFlinger( 235): [DISP] remove 0x1484538 2\r\nW/libagl ( 235): handle fade alpha 36\r\nW/libagl ( 235): handle fade alpha 53\r\nW/libagl ( 235): handle fade alpha 72\r\nW/TiApplication(16677): (main) [191,191] activity stack is emtpy, unable to get current activity\r\nW/TiApplication(16677): (main) [1,192] activity stack is emtpy, unable to get current activity\r\nW/TiApplication(16677): (main) [0,192] activity stack is emtpy, unable to get current activity\r\nW/libagl ( 235): handle fade alpha 92\r\nW/libagl ( 235): handle fade alpha 113\r\nW/libagl ( 235): handle fade alpha 134\r\nW/libagl ( 235): handle fade alpha 155\r\nW/libagl ( 235): handle fade alpha 196\r\nW/libagl ( 235): handle fade alpha 214\r\nW/libagl ( 235): handle fade alpha 228\r\nW/libagl ( 235): handle fade alpha 240\r\nW/libagl ( 235): handle fade alpha 248\r\nW/libagl ( 235): handle fade alpha 253\r\nW/TiApplication(16677): (KrollRuntimeThread) [226,418] Registering module with name already in use.\r\nE/TiApplication(16677): (KrollRuntimeThread) [0,418] APP PROXY: ti.modules.titanium.app.AppModule@405bd388\r\nD/dalvikvm(16677): GC_FOR_MALLOC freed 174K, 40% free 3795K/6279K, external 0K/0K, paused 32ms\r\nV/WidgetUpdateIntentService(16916): Update Widget intent type : 0\r\nI/ActivityManager( 235): Starting activity: Intent { cmp=com.appcelerator.testing10/org.appcelerator.titanium.TiActivity (has extras) } from pid 16677\r\nI/TiRootActivity(16677): (main) [0,0] checkpoint, on root activity resume. activity = com.appcelerator.testing10.Testing10Activity@40561938\r\nW/InputManagerService( 235): [unbindCurrentClientLocked] Disable input method client.\r\nW/InputManagerService( 235): [startInputLocked] Enable input method client.\r\nI/ActivityManager( 235): Displayed com.appcelerator.testing10/org.appcelerator.titanium.TiActivity: +80ms (total +738ms)\r\nW/libagl ( 235): handle fade alpha 238\r\nW/libagl ( 235): handle fade alpha 211\r\nW/libagl ( 235): handle fade alpha 187\r\nW/TiDrawableReference(16677): (main) [142,142] Bitmap bounds could not be determined. If bitmap is loaded, it won't be scaled.\r\nD/skia (16677): --- SkImageDecoder::Factory returned null\r\nW/libagl ( 235): handle fade alpha 165\r\nW/libagl ( 235): handle fade alpha 143\r\nW/libagl ( 235): handle fade alpha 124\r\nW/libagl ( 235): handle fade alpha 106\r\nW/libagl ( 235): handle fade alpha 89\r\nW/libagl ( 235): handle fade alpha 73\r\nW/libagl ( 235): handle fade alpha 60\r\nW/libagl ( 235): handle fade alpha 46\r\nW/libagl ( 235): handle fade alpha 36\r\nW/libagl ( 235): handle fade alpha 26\r\nW/libagl ( 235): handle fade alpha 18\r\nW/libagl ( 235): handle fade alpha 12\r\nW/libagl ( 235): handle fade alpha 6\r\nW/libagl ( 235): handle fade alpha 3\r\nW/libagl ( 235): handle fade alpha 1\r\nD/TiUIImageView(16677): (main) [257,399] Retrying bitmap decode: 1/5\r\nW/TiDrawableReference(16677): (main) [2,401] Bitmap bounds could not be determined. If bitmap is loaded, it won't be scaled.\r\nD/skia (16677): --- SkImageDecoder::Factory returned null\r\nD/SurfaceFlinger( 235): [DISP] purgatorizeLayer_l 0xe84018 4\r\nD/SurfaceFlinger( 235): [DISP] remove 0xe84018 2\r\nI/ActivityManager( 235): Process com.abcOrganizer.lite (pid 16940) has died.\r\nD/TiUIImageView(16677): (main) [253,654] Retrying bitmap decode: 2/5\r\nW/TiDrawableReference(16677): (main) [2,656] Bitmap bounds could not be determined. If bitmap is loaded, it won't be scaled.\r\nD/skia (16677): --- SkImageDecoder::Factory returned null\r\nD/TiUIImageView(16677): (main) [252,908] Retrying bitmap decode: 3/5\r\nW/TiDrawableReference(16677): (main) [3,911] Bitmap bounds could not be determined. If bitmap is loaded, it won't be scaled.\r\nD/skia (16677): --- SkImageDecoder::Factory returned null\r\nD/TiUIImageView(16677): (main) [261,1172] Retrying bitmap decode: 4/5\r\nW/TiDrawableReference(16677): (main) [3,1175] Bitmap bounds could not be determined. If bitmap is loaded, it won't be scaled.\r\nD/skia (16677): --- SkImageDecoder::Factory returned null\r\nD/dalvikvm(16677): GC_CONCURRENT freed 684K, 46% free 3551K/6471K, external 0K/0K, paused 5ms+6ms\r\nD/TiUIImageView(16677): (main) [277,1452] Retrying bitmap decode: 5/5\r\nW/TiDrawableReference(16677): (main) [4,1456] Bitmap bounds could not be determined. If bitmap is loaded, it won't be scaled.\r\nD/skia (16677): --- SkImageDecoder::Factory returned null\r\nE/TiUIImageView(16677): (main) [18,1474] Max retries reached, giving up decoding image source: http://www.atsforums.com/forums/attachment.php?attachmentid=216&stc=1&d=1326113517\r\nD/BatteryService( 235): SendIntentforPowersaver\r\nD/BatteryService( 235): Current powersaver status == NORMAL_STATUS\r\nD/WifiService( 235): [smart wifi] mSmartWiFiStatus: 0 mBatteryLevel: 10 mWifiConnected: true\r\nD/WifiService( 235): [smart wifi] ACTION_BATTERY_CHANGED pluggedType: 2\r\nI/LlamaDroid( 1219): IntentReceiver.onReceive\r\nI/LlamaDroid( 1219): Service already started\r\nI/LlamaDroid( 1219): Intent Action is android.intent.action.BATTERY_CHANGED\r\nI/LlamaDroid( 1219): Service exists, preparing for OnBatteryEvent\r\nI/LlamaDroid( 1219): BatteryReceiver.onReceive Extra_plugged was 2, extraStatus was 2\r\nI/LlamaDroid( 1219): TestEvent: StateChange triggertype=12 got 0 triggerable events.\r\nI/LlamaDroid( 1219): Events to Enqueue 0\r\nI/LlamaDroid( 1219): IntentProfile: android.intent.action.BATTERY_CHANGED > 63\r\nI/LlamaDroid( 1219): SW-RtcWakeLock: RtcWakeLock wakelock not held\r\nV/WidgetUpdateIntentService(16916): Update Widget intent type : 0\r\nD/skia ( 500): purging 93K from font cache [12 entries]\r\nD/dalvikvm( 500): GC_EXPLICIT freed 672K, 45% free 5878K/10503K, external 9555K/11603K, paused 111ms\r\nV/WidgetUpdateIntentService(16916): Update Widget intent type : 0\r\nD/dalvikvm( 582): GC_EXPLICIT freed 168K, 44% free 3776K/6727K, external 2025K/2537K, paused 181ms\r\nV/WidgetUpdateIntentService(16916): Update Widget intent type : 0\r\nD/dalvikvm(10646): GC_EXPLICIT freed 6K, 42% free 3165K/5447K, external 0K/0K, paused 36ms\r\n{code}\r\n\r\nh2. Discussions\r\n\r\nQ&A: [basic imageview fails on android device when using an image from a forum|http://developer.appcelerator.com/question/132375/basic-imageview-fails-on-android-device-when-using-an-image-from-a-forum]\r\n", "attachment": [], "flagged": false, "summary": "Android: UI.ImageView - Complex/autogenerated remote image URLs not rendered on device", "creator": { "name": "ch", "key": "ch", "displayName": "Cameron", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ch", "key": "ch", "displayName": "Cameron", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "* Titanium Mobile 1.8.1, 1.8.0.1\r\n* Rhino / V8 \r\n* Android 2.2 and 2.3\r\n* Motorola Photon 4G, Motorola Atrix 2, Samsung Galaxy SII, HTC Sensation\r\n* OSX Lion", "comment": { "comments": [ { "id": "181443", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Thanks for raising this, Cameron.\r\n\r\nPlease would you review the [JIRA Ticket Checklist|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist] and edit the ticket to add the missing information.\r\n\r\nNote that it's always a good idea to start with the [JIRA Ticket Template|https://wiki.appcelerator.org/display/guides/JIRA+Ticket+Template], to help ensure that tickets are in the recommended format.\r\n\r\nMany thanks", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-02-02T04:33:41.000+0000", "updated": "2012-02-02T04:33:41.000+0000" }, { "id": "181536", "author": { "name": "ch", "key": "ch", "displayName": "Cameron", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Paul, Im sincerely sorry about the missing information, I'm still getting a handle on what information is required. I've added in what I can. I unfortunatly do not have logs (or know how to exactly get any?) and don't exactly know what is meant by runtime?\r\n\r\nThanks for helping to correct this ticket!", "updateAuthor": { "name": "ch", "key": "ch", "displayName": "Cameron", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-02T16:31:47.000+0000", "updated": "2012-02-02T16:31:47.000+0000" }, { "id": "181960", "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:37:01.000+0000", "updated": "2012-02-06T06:37:01.000+0000" }, { "id": "183727", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Hi Cameron\r\n\r\nSorry that it took some time to get abck to this. Don't be discouraged - this ticket is good! Just follow its format for future.\r\n\r\nNote that you can obtain the log file of a device connected by USB, by running {{adb -d logcat}} from the command line.\r\n\r\nThanks for raising this ticket, and for your effort in making it a quality one! :) I'm moving it across to the main project now.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-02-18T06:31:06.000+0000", "updated": "2012-02-18T06:31:06.000+0000" }, { "id": "184977", "author": { "name": "ch", "key": "ch", "displayName": "Cameron", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Paul,\r\n\r\nThanks again for all the help with this and glad to see this ticket has been promoted!\r\n\r\nWill do on the logfile the next time, I've learned alot in this process and hopefully when this gets fixed everyone can benefit!\r\n\r\nTake care", "updateAuthor": { "name": "ch", "key": "ch", "displayName": "Cameron", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-04T12:05:56.000+0000", "updated": "2012-03-04T12:05:56.000+0000" }, { "id": "239986", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "i have tried this url from browser. It seems the path given is not existing.", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-27T12:35:07.000+0000", "updated": "2013-02-27T12:35:07.000+0000" }, { "id": "266158", "author": { "name": "ch", "key": "ch", "displayName": "Cameron", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Well yea, the bug was from over a year ago that is why the URL is gone, but the bug is very real. Heres a new URL to try ( http://www.golfmkv.com/forums/attachment.php?attachmentid=82016&stc=1&d=1329969125 ). I'll jump through whatever hoops you need me to jump through in the hope that this bug could be addressed, just let me know what is needed...\r\n\r\n", "updateAuthor": { "name": "ch", "key": "ch", "displayName": "Cameron", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-13T01:55:52.000+0000", "updated": "2013-08-13T01:55:52.000+0000" }, { "id": "420728", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-31T22:39:16.000+0000", "updated": "2017-05-31T22:39:16.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }