{ "id": "125860", "key": "TIMOB-16374", "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": "15927", "description": "2014 Sprint 04", "name": "2014 Sprint 04", "archived": true, "released": true, "releaseDate": "2014-02-28" }, { "id": "15928", "description": "2014 Sprint 04 Core", "name": "2014 Sprint 04 Core", "archived": true, "released": true, "releaseDate": "2014-02-28" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-04-17T21:35:53.000+0000", "created": "2014-02-04T22:37:36.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "Windows", "module_hybrid", "qe-testadded", "triage" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "35440", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "126101", "key": "TIMOB-16423", "fields": { "summary": "Windows Hybrid: setting BackgroundImage in TSS does not apply to 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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "35430", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "126102", "key": "TIMOB-16424", "fields": { "summary": "Windows Hybrid: setting backgroundImage in View XML does not render", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-07-25T16:53:18.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": "13719", "name": "Windows Hybrid", "description": "Windows Hybrid platform" } ], "description": "When coding an application for Window 8 Hybrid with Mobile web, if you call the setBackgroundImage() for a View, Window, or ImageView, it will not work. \r\n\r\nIt works fine if you view the build from MobileWeb, however once you build for simulator on Windows 8, the images never show up. ", "attachment": [ { "id": "45602", "filename": "TitaniumFiles.zip", "author": { "name": "jspain", "key": "jspain", "displayName": "Jamil Spain", "active": false, "timeZone": "America/New_York" }, "created": "2014-02-05T07:06:09.000+0000", "size": 6299003, "mimeType": "application/zip" } ], "flagged": false, "summary": "Windows Hybrid: setBackgroundImage does not render on Windows 8 Builds", "creator": { "name": "jspain", "key": "jspain", "displayName": "Jamil Spain", "active": false, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "jspain", "key": "jspain", "displayName": "Jamil Spain", "active": false, "timeZone": "America/New_York" }, "environment": "Windows 8.1 VM, 3.2.0-Hybrid SDK, ", "comment": { "comments": [ { "id": "291296", "author": { "name": "jspain", "key": "jspain", "displayName": "Jamil Spain", "active": false, "timeZone": "America/New_York" }, "body": "I can upload a test app this evening if you need me to", "updateAuthor": { "name": "jspain", "key": "jspain", "displayName": "Jamil Spain", "active": false, "timeZone": "America/New_York" }, "created": "2014-02-05T00:37:53.000+0000", "updated": "2014-02-05T00:37:53.000+0000" }, { "id": "291298", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~jspain] Yes, please attach a test case. That will save a bunch of time.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-02-05T00:51:46.000+0000", "updated": "2014-02-05T00:51:46.000+0000" }, { "id": "291326", "author": { "name": "jspain", "key": "jspain", "displayName": "Jamil Spain", "active": false, "timeZone": "America/New_York" }, "body": "Chris, \r\n\r\nI uploaded the testcase app to the ticket. Basically in the view ( index.xml ) you can change the View to be an imageView or View with backgroundImage and it will not work. If I set it to be ImageView with image property, the image will show. That seems to work fine. \r\n\r\n", "updateAuthor": { "name": "jspain", "key": "jspain", "displayName": "Jamil Spain", "active": false, "timeZone": "America/New_York" }, "created": "2014-02-05T07:06:22.000+0000", "updated": "2014-02-05T07:10:04.000+0000" }, { "id": "291486", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~jspain] The attached sample app looks identical between iOS and Mobile Web. Furthermore, no where in the code or the Alloy generated code is a call to setBackgroundImage(). So, again, please attach a relevant test case that demonstrates the issue described in the ticket. :)", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-02-05T21:52:30.000+0000", "updated": "2014-02-05T21:52:30.000+0000" }, { "id": "291489", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Furthermore, adding the following to your example's button click handler works just fine:\r\n\r\n{code}\r\n$.top.setBackgroundImage('logo.jpg');\r\n{code}\r\n\r\nResolving as cannot reproduce.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-02-05T21:56:32.000+0000", "updated": "2014-02-05T21:56:32.000+0000" }, { "id": "294731", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "OK, this is valid. I have a fix, just need to PR it.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-02-26T01:55:10.000+0000", "updated": "2014-02-26T01:55:10.000+0000" }, { "id": "294733", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5386\n3.2.x hybrid pull request: https://github.com/appcelerator/titanium_mobile/pull/5387", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-02-26T02:00:34.000+0000", "updated": "2014-02-26T02:00:34.000+0000" }, { "id": "294988", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "A test app built with PR 5387 fails to launch in the emulator (see http://note.io/1cd2KUa), yet when built with master (not PR5386) it launches fine. I don't think this is a setup issue on my end.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-02-27T20:46:32.000+0000", "updated": "2014-02-27T20:46:32.000+0000" }, { "id": "296536", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The background image set on a view, in the xml or tss or through a handler in the controller, is rendered correctly.\r\nVerified on:\r\nWindows 8.1\r\nAppcelerator Studio, build: 3.2.1.201402061120\r\nTitanium SDK, build: 3.2.1.v20140307150906 (Windows Hybrid), 3.3.0.v20140310170858\r\nCLI: 3.2.1\r\nAlloy: 1.3.1\r\nWindows Phone 8 Emulator", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-11T08:54:31.000+0000", "updated": "2014-03-11T08:54:31.000+0000" }, { "id": "301323", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Reopening to set time spent.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-04-17T21:35:31.000+0000", "updated": "2014-04-17T21:35:31.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }