{ "id": "109361", "key": "TIMOB-13072", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-05-18T16:09:03.000+0000", "created": "2013-02-07T09:32:30.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "exalture" ], "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": [ { "id": "30578", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "117831", "key": "TIMOB-14742", "fields": { "summary": "Android: backgroundImage loading two times for window and four times for view", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2017-05-31T22:50: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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Create titanium single window application. Go to Resources-ui-common-FirstView.js and change line \"var self = Ti.UI.createView();\" to \"var self = Ti.UI.createView({backgroundImage: '/android/default.png'});\". Run application and in FastDev console have that image \"default.png\" loads 4 times.", "attachment": [ { "id": "35461", "filename": "FirstView.js", "author": { "name": "logioniz", "key": "logioniz", "displayName": "logioniz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-07T09:42:53.000+0000", "size": 573, "mimeType": "application/javascript" }, { "id": "35462", "filename": "log.log", "author": { "name": "logioniz", "key": "logioniz", "displayName": "logioniz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-07T09:42:53.000+0000", "size": 1804, "mimeType": "text/x-log" } ], "flagged": false, "summary": "Android: Images load many times", "creator": { "name": "logioniz", "key": "logioniz", "displayName": "logioniz", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "logioniz", "key": "logioniz", "displayName": "logioniz", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Platform Android API - Android 2.2, 2.3.3, 4.1.2\r\nTitanium SDK 3.0.0.GA\r\n", "comment": { "comments": [ { "id": "242353", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested on 3.0.2 GA, Android 4.1.2 emulator. Here's my log:\r\n\r\n{code}\r\n[INFO] [2013-03-14 17:06:26,042] get ui/common/FirstView.js: ImagesLoadManyTimes/Resources/ui/common/FirstView.js\r\n[INFO] [2013-03-14 17:06:26,511] get android/default.png: ImagesLoadManyTimes/Resources/android/default.png\r\n[INFO] [2013-03-14 17:06:26,659] get android/default.png: ImagesLoadManyTimes/Resources/android/default.png\r\n[INFO] [2013-03-14 17:06:26,775] get android/default.png: ImagesLoadManyTimes/Resources/android/default.png\r\n[INFO] [2013-03-14 17:06:26,826] get android/default.png: ImagesLoadManyTimes/Resources/android/default.png\r\n{code}\r\n\r\nThe other thing I find odd is that specifying \"/android/default.png\" or \"/iphone/Default.png\" on iOS causes no image to be shown (only works with \"Default.png\"), yet on Android with these paths the image is shown.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-15T00:11:52.000+0000", "updated": "2013-03-15T00:11:52.000+0000" }, { "id": "248740", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces \n\nTested with\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 \nTitanium SDK version: 3.0.2\nAndroid Emulator: Android SDK version: 2.2 ", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-23T06:53:45.000+0000", "updated": "2013-04-23T06:53:45.000+0000" }, { "id": "252718", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "The additional 3 are for selected, focused and disabled states. If images are not explicitly specified for these, the background image is used.", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-05-18T16:09:03.000+0000", "updated": "2013-05-18T16:09:03.000+0000" }, { "id": "420730", "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:50:40.000+0000", "updated": "2017-05-31T22:50:40.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }