{ "id": "120153", "key": "TIMOB-15286", "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": "15703", "description": "2013 Sprint 22", "name": "2013 Sprint 22", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "15704", "description": "2013 Sprint 22 API", "name": "2013 Sprint 22 API", "archived": true, "released": true, "releaseDate": "2013-11-01" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-10-23T16:43:01.000+0000", "created": "2013-09-18T17:02:44.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios7", "ipass1", "translucency" ], "versions": [], "issuelinks": [ { "id": "32367", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "120664", "key": "AC-3189", "fields": { "summary": "Function to create the \"real-time-blur\" effect like iOS 7", "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" } }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-08-06T17:37:06.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": "In iOS7 translucency is key to indicating hierarchy on the UI to the user. However in Titanium SDK 3.1.3 so far I have only seen evidence of translucency supported on the TabBar, Toolbar, and Window Navigation bar. This is not thorough enough to work with Apple's guidelines.\r\n\r\nFor example if you look at Safari in iOS7 you will see that popover windows with TableViews in them are still fully translucent (see attached screenshot for example). But in Ti the TableView is not translucent. \r\n\r\nBest practice we should also be able to layer Views or Windows and have them appear on top of content, with the content underneath showing through. This is not currently possible as far as I am aware.\r\n\r\nThis ticket is to get translucency supported on Views, Windows, Tables and other elements.", "attachment": [ { "id": "43405", "filename": "iOS Simulator Screen shot Oct 23, 2013 9.41.39 AM.png", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-23T16:42:33.000+0000", "size": 59511, "mimeType": "image/png" }, { "id": "42592", "filename": "Screen Shot 2013-09-19 at 5.01.41 AM.png", "author": { "name": "mdelmarter", "key": "mdelmarter", "displayName": "Matthew Delmarter", "active": true, "timeZone": "Pacific/Auckland" }, "created": "2013-09-18T17:02:45.000+0000", "size": 162784, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS7: Improved support for translucency on more UI elements", "creator": { "name": "mdelmarter", "key": "mdelmarter", "displayName": "Matthew Delmarter", "active": true, "timeZone": "Pacific/Auckland" }, "subtasks": [], "reporter": { "name": "mdelmarter", "key": "mdelmarter", "displayName": "Matthew Delmarter", "active": true, "timeZone": "Pacific/Auckland" }, "environment": "Ti SDK 3.1.3, Xcode 5", "comment": { "comments": [ { "id": "274138", "author": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "body": "no one has yet worked on a solution?", "updateAuthor": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "created": "2013-10-08T07:53:26.000+0000", "updated": "2013-10-08T07:53:26.000+0000" }, { "id": "274167", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~nicolomonili] Not yet. It is currently still planned for 3.2.0, which has several more weeks before code freeze. You are welcome to submit a pull request if you'd like to try your hand.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-08T15:57:37.000+0000", "updated": "2013-10-08T15:57:37.000+0000" }, { "id": "274172", "author": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "updateAuthor": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "created": "2013-10-08T16:27:26.000+0000", "updated": "2013-10-08T16:27:26.000+0000" }, { "id": "274182", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~nicolomonili] How is TC-3072 different than TIMOB-15286?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-08T17:01:45.000+0000", "updated": "2013-10-08T17:01:45.000+0000" }, { "id": "274183", "author": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "body": "in fact talking about the same topic, but my ticket has been open 7 days ago, while I only noticed this ticket today", "updateAuthor": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "created": "2013-10-08T17:04:47.000+0000", "updated": "2013-10-08T17:04:47.000+0000" }, { "id": "274185", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Okay. I will then mark yours as a duplicate.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-08T17:08:25.000+0000", "updated": "2013-10-08T17:08:25.000+0000" }, { "id": "275613", "author": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "body": "In the \"fix's versions\" has been added the 3.2.0SDK\r\ncurrently version 3.2.0 allows to extend the translucent properties to other objects?", "updateAuthor": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "created": "2013-10-18T10:30:07.000+0000", "updated": "2013-10-18T10:30:07.000+0000" }, { "id": "275654", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It won't be available in 3.2.0 until the ticket is actually marked \"resolved.\"", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-18T16:12:21.000+0000", "updated": "2013-10-18T16:12:21.000+0000" }, { "id": "276359", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Screen shot of a semi transparent popover on iOS7 attached", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-23T16:42:33.000+0000", "updated": "2013-10-23T16:42:33.000+0000" }, { "id": "276360", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Translucency is a property that is supported by a few UI elements and as specified we have exposed it for the aforementioned elements.\r\n\r\nThe screenshot attached is an example of a popover with a semi transparent background. That is possible to do in Titanium. See attached code and screenshot for a sample\r\n{code}\r\nfunction genColor()\r\n{\r\n var num = Math.round(Math.random()*1000000).toString();\r\n var length = num.length;\r\n if (length < 6)\r\n {\r\n while (length < 6) {\r\n num = num + '0';\r\n length++;\r\n }\r\n }\r\n Ti.API.info(num);\r\n return ('#'+num)\r\n}\r\n\r\nfunction genRandowmViews(win) {\r\n var i=0;\r\n for (i=0;i<16;i++) {\r\n var v = Ti.UI.createView({\r\n width:'25%',\r\n height:'25%',\r\n backgroundColor:genColor()\r\n })\r\n v.add(Ti.UI.createLabel({\r\n color:'white',\r\n text:'VIEW '+i\r\n }));\r\n win.add(v);\r\n }\r\n}\r\n\r\n\r\nvar win = Ti.UI.createWindow({\r\n layout:'horizontal',\r\n title:'Popover'\r\n});\r\n\r\nfunction genContentView()\r\n{\r\n var sectionFruit = Ti.UI.createTableViewSection({ headerTitle: 'The Fruits' });\r\n sectionFruit.add(Ti.UI.createTableViewRow({ title: 'Apple' , backgroundColor: 'transparent'}));\r\n sectionFruit.add(Ti.UI.createTableViewRow({ title: 'Banana' , backgroundColor: 'transparent'}));\r\n sectionFruit.add(Ti.UI.createTableViewRow({ title: 'Fig' , backgroundColor: 'transparent'}));\r\n sectionFruit.add(Ti.UI.createTableViewRow({ title: 'Orange' , backgroundColor: 'transparent'}));\r\n sectionFruit.add(Ti.UI.createTableViewRow({ title: 'Pear' , backgroundColor: 'transparent'}));\r\n\r\n var sectionVeg = Ti.UI.createTableViewSection({ headerTitle: 'The Vegetables' });\r\n sectionVeg.add(Ti.UI.createTableViewRow({ title: 'Carrot' , backgroundColor: 'transparent'}));\r\n sectionVeg.add(Ti.UI.createTableViewRow({ title: 'Potato' , backgroundColor: 'transparent'}));\r\n sectionVeg.add(Ti.UI.createTableViewRow({ title: 'Beans' , backgroundColor: 'transparent'}));\r\n sectionVeg.add(Ti.UI.createTableViewRow({ title: 'Squash' , backgroundColor: 'transparent'}));\r\n sectionVeg.add(Ti.UI.createTableViewRow({ title: 'Broccoli' , backgroundColor: 'transparent'}));\r\n\r\n var bb1 = Titanium.UI.iOS.createTabbedBar({\r\n labels:['Fruits','Vegetables'],\r\n backgroundColor:'#336699',\r\n top:10,\r\n height:25,\r\n width:200,\r\n index:0\r\n });\r\n\r\n var tableView = Ti.UI.createTableView({\r\n backgroundColor: 'transparent',\r\n top:10,\r\n data: [sectionFruit]\r\n })\r\n\r\n var contentWin = Ti.UI.createWindow({\r\n backgroundColor:'transparent',\r\n title:'POPOVER',\r\n barColor:'white',\r\n translucent:'false',\r\n titleAttributes:{color:'blue'},\r\n layout:'vertical'\r\n })\r\n contentWin.add(bb1);\r\n contentWin.add(tableView);\r\n\r\n bb1.addEventListener('click',function(e){\r\n if(e.index == 1) {\r\n tableView.data = [sectionVeg];\r\n } else {\r\n tableView.data = [sectionFruit];\r\n }\r\n })\r\n var navWin = Ti.UI.iOS.createNavigationWindow({\r\n window:contentWin,\r\n backgroundColor:'#33ffffff'\r\n })\r\n return navWin;\r\n}\r\n\r\nwin.addEventListener('click',function(e){\r\n var popover = Ti.UI.iPad.createPopover({\r\n width:400,\r\n height:400,\r\n contentView:genContentView()\r\n })\r\n popover.show({view:e.source});\r\n});\r\n\r\ngenRandowmViews(win);\r\n\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-23T16:43:01.000+0000", "updated": "2013-10-23T16:43:01.000+0000" }, { "id": "276394", "author": { "name": "mdelmarter", "key": "mdelmarter", "displayName": "Matthew Delmarter", "active": true, "timeZone": "Pacific/Auckland" }, "body": "Doesn't work for me. Building it in 3.1.3 GA using Ti Studio 3.1.4 RC and Xcode 5.0.1 the Popover shows, but it has absolutely nothing in it, not even a title showing. I would have attached a screenshot, but cannot because the ticket is resolved.", "updateAuthor": { "name": "mdelmarter", "key": "mdelmarter", "displayName": "Matthew Delmarter", "active": true, "timeZone": "Pacific/Auckland" }, "created": "2013-10-23T18:36:10.000+0000", "updated": "2013-10-23T18:36:10.000+0000" }, { "id": "276398", "author": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "body": "maybe the ticket has been resolved because this feature will be added in the 3.2.0 SDK, so hopefully it will be", "updateAuthor": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "created": "2013-10-23T18:50:52.000+0000", "updated": "2013-10-23T18:50:52.000+0000" }, { "id": "276690", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~mdelmarter]\nThe contentView property of the popover is a new feature added to 3.2.0 so you could customize the navigation controller [TIMOB-15402]. This is not available in 3.1.X branch.\n\nYou can modify the sample by adding the tabbedbar and tableview to the popover instead and use this with 3.1.3 GA, though you will not be able to customize the navigation controller. ", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-24T21:43:57.000+0000", "updated": "2013-10-24T21:43:57.000+0000" }, { "id": "282581", "author": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "body": "in this release : http://docs.appcelerator.com/titanium/release-notes/?version=3.2.0.B#ios7_1\r\n\r\nhas been added this new feature \"blur\" ?", "updateAuthor": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "created": "2013-12-05T08:10:47.000+0000", "updated": "2013-12-05T08:10:47.000+0000" }, { "id": "284741", "author": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "body": "nothing ??", "updateAuthor": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "created": "2013-12-17T13:50:15.000+0000", "updated": "2013-12-17T13:50:15.000+0000" }, { "id": "284789", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi [~nicolomonili], I believe the issue is that it's not clear what you are asking. Can you let us knw specifically what you are requesting? Ideally, a sample set of test code that doesn't work as you expect?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-17T18:07:58.000+0000", "updated": "2013-12-17T18:07:58.000+0000" }, { "id": "284803", "author": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "updateAuthor": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "created": "2013-12-17T18:49:07.000+0000", "updated": "2013-12-17T18:49:07.000+0000" }, { "id": "284813", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Re-reviewing the comments, it seems that there is no native API for creating a blur: http://whoisryannystrom.com/2013/09/17/Live-blur-in-iOS7/\n\nWe'd be unlikely to add this functionality based on a workaround to the SDK. Is there an officially support way of producing this effect?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-17T19:00:59.000+0000", "updated": "2013-12-17T19:00:59.000+0000" }, { "id": "289032", "author": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "body": "Ingo Muschenetz , who should answer this question ???\r\n\r\n... its just a shame that a platform like Titanium does not offer this feature\r\n\r\nif you could reproduce this (https://github.com/alexdrone/ios-realtimeblur) effect would be perfect", "updateAuthor": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "created": "2014-01-21T16:02:19.000+0000", "updated": "2014-01-21T16:12:43.000+0000" }, { "id": "439949", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid. If incorrect, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:37:06.000+0000", "updated": "2018-08-06T17:37:06.000+0000" } ], "maxResults": 22, "total": 22, "startAt": 0 } } }