{ "id": "140792", "key": "TIMOB-18120", "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": "2014-12-02T23:14:17.000+0000", "created": "2014-12-02T09:58:33.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-3.5.0", "regression" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T21:48:28.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "iOS System Texture Color constants are not working. \r\n\r\nFor example, following constants are having no effect on the code.\r\nTi.UI.iOS.COLOR_SCROLLVIEW_BACKGROUND\r\nTi.UI.iOS.COLOR_VIEW_FLIPSIDE_BACKGROUND\r\nTi.UI.iOS.COLOR_UNDER_PAGE_BACKGROUND\r\n\r\nThis is a *regression* since it doesn't occur in 3.4.1 GA\r\n\r\nh5. Steps To Reproduce\r\n1. Create a classic app using following code\r\n{code}\r\nfunction main(_window) {\r\n\t// this sets the background color of the master UIView (when there are no windows/tab groups on it)\r\n\tTitanium.UI.setBackgroundColor('#000');\r\n\r\n\t// create tab group\r\n\tvar tabGroup = Titanium.UI.createTabGroup();\r\n\r\n\t//\r\n\t// create base UI tab and root window\r\n\t//\r\n\tvar win1 = Titanium.UI.createWindow({\r\n\t\ttitle : 'SCROLLVIEW',\r\n\t\tbackgroundColor : Ti.UI.iOS.COLOR_SCROLLVIEW_BACKGROUND\r\n\t});\r\n\tvar tab1 = Titanium.UI.createTab({\r\n\t\ticon : 'KS_nav_views.png',\r\n\t\ttitle : 'SCROLLVIEW',\r\n\t\twindow : win1\r\n\t});\r\n\r\n\t//\r\n\t// create controls tab and root window\r\n\t//\r\n\tvar win2 = Titanium.UI.createWindow({\r\n\t\ttitle : 'VIEW_FLIPSIDE',\r\n\t\tbackgroundColor : Ti.UI.iOS.COLOR_VIEW_FLIPSIDE_BACKGROUND\r\n\t});\r\n\tvar tab2 = Titanium.UI.createTab({\r\n\t\ticon : 'KS_nav_ui.png',\r\n\t\ttitle : 'VIEW_FLIPSIDE',\r\n\t\twindow : win2\r\n\t});\r\n\r\n\t//\r\n\t// create controls tab and root window\r\n\t//\r\n\tvar win3 = Titanium.UI.createWindow({\r\n\t\ttitle : 'UNDER_PAGE',\r\n\t\tbackgroundColor : Ti.UI.iOS.COLOR_UNDER_PAGE_BACKGROUND\r\n\t});\r\n\tvar tab3 = Titanium.UI.createTab({\r\n\t\ticon : 'KS_nav_ui.png',\r\n\t\ttitle : 'UNDER_PAGE',\r\n\t\twindow : win3\r\n\t});\r\n\r\n\ttabGroup.addTab(tab1);\r\n\ttabGroup.addTab(tab2);\r\n\ttabGroup.addTab(tab3);\r\n\r\n\ttabGroup.open();\r\n}\r\n\r\nvar _window = Ti.UI.createWindow({backgroundColor:\"white\"});\r\n_window.fullscreen = true;\r\n_window.open();\r\nmain(_window);\r\n{code}\r\n\r\n2. Run the app\r\n3. Click VIEW_FLIPSIDE \r\n4. Click UNDER_PAGE\r\n\r\nh5. Actual Result\r\nWhite background is shown for all steps\r\n\r\nh5. Expected Result\r\nStep 2: Should see a textured gray background \r\nStep 3: Should see a textured dark gray background \r\nStep 4: Should see a textured light gray background ", "attachment": [], "flagged": false, "summary": "iOS: UI - iOS System Texture Color constants are not working", "creator": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "Titanium SDK: 3.5.0.v20141201155733\r\nAppc-Studio: 3.4.1 GA\r\nTitanium CLI: 3.4.1 GA\r\nAlloy : 1.5.1 GA\r\nXcode : 6.1\r\nOS: OSX 10.10.1\r\nDevice : iPhone 6plus (iOS 8.1)", "comment": { "comments": [ { "id": "334409", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It appears we removed these. [~bhatfield], can you confirm?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-02T22:35:47.000+0000", "updated": "2014-12-02T22:35:47.000+0000" }, { "id": "334412", "author": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~ingo] Underlying APIs are marked deprecated for iOS 7. Marked as deprecated in the code for 3.5.0 but there is not doc update in the YAML files.", "updateAuthor": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-02T22:59:39.000+0000", "updated": "2014-12-02T22:59:39.000+0000" }, { "id": "334413", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "If they are marked deprecated, they should still work, right?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-02T23:06:37.000+0000", "updated": "2014-12-02T23:06:37.000+0000" }, { "id": "334417", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "They work in the sense that your app will not crash but they have no specific values since those iOS constants have been deprecated in iOS7 and we no longer support older versions. All those constants now result in transparent color.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-02T23:13:38.000+0000", "updated": "2014-12-02T23:13:38.000+0000" }, { "id": "415042", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid with reference to previous comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T21:48:27.000+0000", "updated": "2017-03-22T21:48:27.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }