{ "id": "116112", "key": "AC-2639", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-06-21T18:32:02.000+0000", "created": "2013-06-18T12:49:50.000+0000", "labels": [ "ios" ], "versions": [], "issuelinks": [ { "id": "29755", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "92367", "key": "TIMOB-9268", "fields": { "summary": "iOS: ToolBar backgroundImage property doesn't work", "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": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:44.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "*Test case*\r\n{code:javascript}\r\nvar tabGroup = Ti.UI.createTabGroup();\r\n\r\nvar self = Titanium.UI.createWindow({\r\n\tbackgroundColor : '#fbf4f2',\r\n\tbackgroundRepeat : true,\r\n\ttitle : 'WINDOW WITH PLAIN IMAGE BG',\r\n\tbarColor : '#4899dd',\r\n\tbarImage : 'bar.png',\r\n\tnavBarHidden : false,\r\n\ttop : 0\r\n});\r\n\r\nflexSpace = Titanium.UI.createButton({\r\n\tsystemButton : Titanium.UI.iPhone.SystemButton.FLEXIBLE_SPACE\r\n});\r\n\r\ntitle = Titanium.UI.createButton({\r\n\ttitle : 'CANNOT SET A PLAIN BG IMAGE ON THIS!',\r\n\tfont : {\r\n\t\tfont : 'Open Sans',\r\n\t\tfontSize : 12,\r\n\t\tfontWeight : 'normal'\r\n\t},\r\n\tstyle : Titanium.UI.iPhone.SystemButtonStyle.PLAIN,\r\n});\r\n\r\ntoolbar = Titanium.UI.iOS.createToolbar({\r\n\titems : [flexSpace, title, flexSpace],\r\n\tborderTop : true,\r\n\tborderBottom : false,\r\n\tbackgroundImage : 'bar.png',\r\n\tbarImage : 'bar.png',\r\n\tbarColor : 'transparent',\r\n\ttranslucent : true\r\n});\r\n\r\nself.add(toolbar);\r\n\r\nvar tab = Ti.UI.createTab({\r\n\ttitle : \"Doesn't matter\",\r\n\twindow : self\r\n});\r\n\r\ntabGroup.addTab(tab);\r\ntabGroup.open();\r\n{code}", "attachment": [ { "id": "40127", "filename": "bar.png", "author": { "name": "samueleast", "key": "samueleast", "displayName": "Samuel East", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-21T11:32:55.000+0000", "size": 1034, "mimeType": "image/png" }, { "id": "39956", "filename": "bar.png", "author": { "name": "samueleast", "key": "samueleast", "displayName": "Samuel East", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-18T12:49:50.000+0000", "size": 11352, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Toolbar backgroundImage property not working", "creator": { "name": "samueleast", "key": "samueleast", "displayName": "Samuel East", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "samueleast", "key": "samueleast", "displayName": "Samuel East", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium 3.1.1GA ", "comment": { "comments": [ { "id": "258433", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Samuel,\r\n\r\nPlease can you add a bit more detail? I don't understand exactly what you mean, and I can't really tell from the screenshot.\r\n\r\nAlso, please could you expand your test case to be runnable, and attach the bar.png that you're using.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-18T18:25:58.000+0000", "updated": "2013-06-18T18:25:58.000+0000" }, { "id": "258715", "author": { "name": "samueleast", "key": "samueleast", "displayName": "Samuel East", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Daniel\n\nYou cant set a plain background image on a toolbar.\n\nIn the image its a split view on the left is a window and on the right is a toolbar i want a toolbar with no gradient just a plain color.\n\nHere give more info...\n\nhttp://developer.appcelerator.com/question/153677/plan-flat-background-image-on-toolbar#comment-177829\n\nThanks", "updateAuthor": { "name": "samueleast", "key": "samueleast", "displayName": "Samuel East", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-20T10:47:52.000+0000", "updated": "2013-06-20T10:47:52.000+0000" }, { "id": "258811", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks, but we need a runnable test case (something that can be dropped into a Classic Default Project), and attaching the bar.png that you're trying to use would help as well (JIRA -> Edit -> Attachment)", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-20T21:05:15.000+0000", "updated": "2013-06-20T21:05:15.000+0000" }, { "id": "258975", "author": { "name": "samueleast", "key": "samueleast", "displayName": "Samuel East", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Runnable case just drop in app.js\n\nvar tabGroup = Ti.UI.createTabGroup();\n\nvar self = Titanium.UI.createWindow({\n\tbackgroundColor : '#fbf4f2',\n\tbackgroundRepeat : true,\n\ttitle : 'WINDOW WITH PLAIN IMAGE BG',\n\tbarColor : '#4899dd',\n\tbarImage : 'bar.png',\n\tnavBarHidden : false,\n\ttop : 0\n});\n\nflexSpace = Titanium.UI.createButton({\n\tsystemButton : Titanium.UI.iPhone.SystemButton.FLEXIBLE_SPACE\n});\n\ntitle = Titanium.UI.createButton({\n\ttitle : 'CANNOT SET A PLAIN BG IMAGE ON THIS!',\n\tfont : {\n\t\tfont : 'Open Sans',\n\t\tfontSize : 12,\n\t\tfontWeight : 'normal'\n\t},\n\tstyle : Titanium.UI.iPhone.SystemButtonStyle.PLAIN,\n});\n\ntoolbar = Titanium.UI.iOS.createToolbar({\n\titems : [flexSpace, title, flexSpace],\n\tborderTop : true,\n\tborderBottom : false,\n\tbackgroundImage : 'bar.png',\n\tbarImage : 'bar.png',\n\tbarColor : 'transparent',\n\ttranslucent : true\n});\n\nself.add(toolbar);\n\nvar tab = Ti.UI.createTab({\n\ttitle : \"Doesn't matter\",\n\twindow : self\n});\n\ntabGroup.addTab(tab);\ntabGroup.open();\n", "updateAuthor": { "name": "samueleast", "key": "samueleast", "displayName": "Samuel East", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-21T10:55:51.000+0000", "updated": "2013-06-21T10:55:51.000+0000" }, { "id": "258977", "author": { "name": "samueleast", "key": "samueleast", "displayName": "Samuel East", "active": true, "timeZone": "America/Los_Angeles" }, "body": "bar image", "updateAuthor": { "name": "samueleast", "key": "samueleast", "displayName": "Samuel East", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-21T11:32:55.000+0000", "updated": "2013-06-21T11:32:55.000+0000" }, { "id": "259024", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Many thanks for the test case, I can reproduce.\r\n\r\nI just found a duplicate report at TIMOB-9268. I've updated the version in that ticket and bumped it, so please watch that one instead.\r\n\r\nClosing this one.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-21T18:32:02.000+0000", "updated": "2013-06-21T18:32:02.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }