{ "id": "83271", "key": "TIMOB-6810", "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": "12091", "description": "", "name": "Sprint 2011-51", "archived": true, "released": true, "releaseDate": "2011-12-26" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-01-16T17:33:40.000+0000", "created": "2011-12-01T02:14:40.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "parity" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [ { "id": "14333", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "81620", "key": "TIMOB-5760", "fields": { "summary": "iOS5: Header bar gets stuck in the middle of the screen after a search", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-03-04T21:56:32.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": "h2. Problem\r\nWhen searching in the search bar, with custom sectionHeaders in the Table, there are many visible artifacts/glitches that appear. \r\n\r\n# sectionHeader title and styling disappears\r\n# Empty groups are displayed even when there's nothing in them, leaving behind visible traces of empty sectionheaders. \r\n\r\nSee attached screenshot.\r\n\r\nh2. Test Case\r\n{code:lang=javascript|title=app.js}\r\nvar win1 = Titanium.UI.createWindow();\r\n\r\n// create table view data object\r\nvar data = [];\r\n\r\nvar header = Ti.UI.createView({\r\n\tbackgroundColor:'#999',\r\n\theight:'auto'\r\n});\r\n\r\nvar headerLabel = Ti.UI.createLabel({\r\n\tfont:{fontFamily:'Helvetica Neue',fontSize:18,fontWeight:'bold'},\r\n\ttext:'Custom Header - first label',\r\n\tcolor:'#222',\r\n\ttextAlign:'left',\r\n\ttop:0,\r\n\tleft:10,\r\n\twidth:300,\r\n\theight:30\r\n});\r\nvar headerLabel2 = Ti.UI.createLabel({\r\n\tfont:{fontFamily:'Helvetica Neue',fontSize:18,fontWeight:'bold'},\r\n\ttext:'Custom Header - second label',\r\n\tcolor:'#222',\r\n\ttextAlign:'left',\r\n\tleft:10,\r\n\ttop:50,\r\n\twidth:300,\r\n\theight:30\r\n});\r\nheader.add(headerLabel);\r\nheader.add(headerLabel2);\r\n\r\nvar section = Ti.UI.createTableViewSection();\r\nsection.headerView = header;\r\n\r\ndata[0] = section;\r\n\r\nsection.add(Ti.UI.createTableViewRow({hasChild:true,title:'Row 1'}));\r\nsection.add(Ti.UI.createTableViewRow({hasDetail:true,title:'Row 2'}));\r\nsection.add(Ti.UI.createTableViewRow({hasCheck:true,title:'Row 3'}));\r\nsection.add(Ti.UI.createTableViewRow({title:'Row 4'}));\r\n\r\n\r\nvar search = Titanium.UI.createSearchBar({\r\n\tshowCancel:false\r\n});\r\n// create table view\r\nvar tableview = Titanium.UI.createTableView({\r\n\tdata:data,\r\n\tsearch:search,\r\n\tfilterAttribute:'title'\r\n});\r\n\r\nwin1.add(tableview);\r\nwin1.open();\r\n{code}", "attachment": [ { "id": "24410", "filename": "app.js", "author": { "name": "ziggamon2", "key": "ziggamon2", "displayName": "Sergej Kotliar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-01T05:55:02.000+0000", "size": 1438, "mimeType": "text/javascript" }, { "id": "24408", "filename": "table_view_api_custom_header.js", "author": { "name": "ziggamon2", "key": "ziggamon2", "displayName": "Sergej Kotliar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-01T05:32:30.000+0000", "size": 1602, "mimeType": "text/javascript" }, { "id": "24406", "filename": "visual_glitch_tableview.png", "author": { "name": "ziggamon2", "key": "ziggamon2", "displayName": "Sergej Kotliar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-01T02:14:40.000+0000", "size": 297278, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: TableView sectionHeader weirdness when combined with searchBar", "creator": { "name": "ziggamon2", "key": "ziggamon2", "displayName": "Sergej Kotliar", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ziggamon2", "key": "ziggamon2", "displayName": "Sergej Kotliar", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK version: 1.8 and onwards, including from 29 november, including RC3\r\nJavascript Engine: Not applicable\r\nPlatform & version: iOS any version\r\nDevice Details: iOS simulator any iPhone\r\nHost Operating System: OSX\r\nTitanium Studio version: Any. 1.0.7 for example.\r\n", "comment": { "comments": [ { "id": "174405", "author": { "name": "mapperson", "key": "mapperson", "displayName": "Matthew Apperson", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sergej,\r\n\r\nPlease remember to follow the guidelines here - http://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report in filling out a bug report. Your ticket here is missing a code sample and the exact build version you used to show this bug.\r\n\r\nBest regards,\r\nMatt", "updateAuthor": { "name": "mapperson", "key": "mapperson", "displayName": "Matthew Apperson", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-01T05:14:44.000+0000", "updated": "2011-12-01T05:14:44.000+0000" }, { "id": "174411", "author": { "name": "ziggamon2", "key": "ziggamon2", "displayName": "Sergej Kotliar", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sorry about the version, went to look for the exact one and then forgot. It is with Ti 1.8.0.1 from Nov 29th.\r\n\r\nAs for test cases, this is a pretty obvious issue and is even visible in KitchenSink. \r\n\r\nAttaching a modded version of one of the KitchenSink files where this can be seen. ", "updateAuthor": { "name": "ziggamon2", "key": "ziggamon2", "displayName": "Sergej Kotliar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-01T05:31:57.000+0000", "updated": "2011-12-01T05:31:57.000+0000" }, { "id": "174412", "author": { "name": "ziggamon2", "key": "ziggamon2", "displayName": "Sergej Kotliar", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Throw this into KitchenSink, and it shows the problem", "updateAuthor": { "name": "ziggamon2", "key": "ziggamon2", "displayName": "Sergej Kotliar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-01T05:32:30.000+0000", "updated": "2011-12-01T05:32:30.000+0000" }, { "id": "174413", "author": { "name": "mapperson", "key": "mapperson", "displayName": "Matthew Apperson", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sergej,\r\n\r\nWe request you please adhere closely to this part of the guide - http://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-CreatingaTestCase\r\n\r\nIn particular the aspect where the code should be able to be placed directly in app.js and run... also further down where we request that you place the file in the code tags directly in the description.\r\n\r\nThanks for helping us out with this! :)\r\n\r\nBest regards,\r\nMatt", "updateAuthor": { "name": "mapperson", "key": "mapperson", "displayName": "Matthew Apperson", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-01T05:36:33.000+0000", "updated": "2011-12-01T05:36:33.000+0000" }, { "id": "174416", "author": { "name": "ziggamon2", "key": "ziggamon2", "displayName": "Sergej Kotliar", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Alright, putting it in an app.js", "updateAuthor": { "name": "ziggamon2", "key": "ziggamon2", "displayName": "Sergej Kotliar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-01T05:55:02.000+0000", "updated": "2011-12-01T05:55:02.000+0000" }, { "id": "174417", "author": { "name": "ziggamon2", "key": "ziggamon2", "displayName": "Sergej Kotliar", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Is this code tags?\r\n\r\n{code}\r\n// this sets the background color of the master UIView (when there are no windows/tab groups on it)\r\nTitanium.UI.setBackgroundColor('#000');\r\n\r\n//\r\n// create base UI tab and root window\r\n//\r\nvar win1 = Titanium.UI.createWindow();\r\n\r\n\r\n// create table view data object\r\nvar data = [];\r\n\r\nvar header = Ti.UI.createView({\r\n\tbackgroundColor:'#999',\r\n\theight:'auto'\r\n});\r\n\r\nvar headerLabel = Ti.UI.createLabel({\r\n\tfont:{fontFamily:'Helvetica Neue',fontSize:18,fontWeight:'bold'},\r\n\ttext:'Custom Header - first label',\r\n\tcolor:'#222',\r\n\ttextAlign:'left',\r\n\ttop:0,\r\n\tleft:10,\r\n\twidth:300,\r\n\theight:30\r\n});\r\nvar headerLabel2 = Ti.UI.createLabel({\r\n\tfont:{fontFamily:'Helvetica Neue',fontSize:18,fontWeight:'bold'},\r\n\ttext:'Custom Header - second label',\r\n\tcolor:'#222',\r\n\ttextAlign:'left',\r\n\tleft:10,\r\n\ttop:50,\r\n\twidth:300,\r\n\theight:30\r\n});\r\nheader.add(headerLabel);\r\nheader.add(headerLabel2);\r\n\r\nvar section = Ti.UI.createTableViewSection();\r\nsection.headerView = header;\r\n\r\ndata[0] = section;\r\n\r\nsection.add(Ti.UI.createTableViewRow({hasChild:true,title:'Row 1'}));\r\nsection.add(Ti.UI.createTableViewRow({hasDetail:true,title:'Row 2'}));\r\nsection.add(Ti.UI.createTableViewRow({hasCheck:true,title:'Row 3'}));\r\nsection.add(Ti.UI.createTableViewRow({title:'Row 4'}));\r\n\r\n\r\nvar search = Titanium.UI.createSearchBar({\r\n\tshowCancel:false\r\n});\r\n// create table view\r\nvar tableview = Titanium.UI.createTableView({\r\n\tdata:data,\r\n\tsearch:search,\r\n\tfilterAttribute:'title'\r\n});\r\n\r\nwin1.add(tableview);\r\nwin1.open();\r\n{code}", "updateAuthor": { "name": "mapperson", "key": "mapperson", "displayName": "Matthew Apperson", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-01T05:59:54.000+0000", "updated": "2011-12-01T06:03:46.000+0000" }, { "id": "174418", "author": { "name": "ziggamon2", "key": "ziggamon2", "displayName": "Sergej Kotliar", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ok, I give up. Please help with this.", "updateAuthor": { "name": "ziggamon2", "key": "ziggamon2", "displayName": "Sergej Kotliar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-01T06:00:34.000+0000", "updated": "2011-12-01T06:00:34.000+0000" }, { "id": "174419", "author": { "name": "mapperson", "key": "mapperson", "displayName": "Matthew Apperson", "active": true, "timeZone": "America/Los_Angeles" }, "body": "the opening and closing tag are the same, aka no slash in the last tag... if you click edit on your last comment, I edited it to be correct so you can se the example there", "updateAuthor": { "name": "mapperson", "key": "mapperson", "displayName": "Matthew Apperson", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-01T06:05:05.000+0000", "updated": "2011-12-01T06:05:05.000+0000" }, { "id": "174420", "author": { "name": "ziggamon2", "key": "ziggamon2", "displayName": "Sergej Kotliar", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks. I'll know for next time. Could you please reopen this bug?", "updateAuthor": { "name": "ziggamon2", "key": "ziggamon2", "displayName": "Sergej Kotliar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-01T06:19:04.000+0000", "updated": "2011-12-01T06:19:04.000+0000" }, { "id": "176617", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Sergej\r\n\r\nI am sorry if this sounds tough, Sergej, but in order for me to accept this, the environment field needs to be complete, with the information listed in [JIRA Ticket Checklist|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist]. I promise, as soon as this is done correctly, I will escalate the ticket! :)\r\n\r\nThanks for your patience with this.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-19T16:53:06.000+0000", "updated": "2011-12-19T16:53:06.000+0000" }, { "id": "176618", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Please reopen the ticket once it is complete.\r\n\r\nCheers", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-19T16:53:27.000+0000", "updated": "2011-12-19T16:53:27.000+0000" }, { "id": "176673", "author": { "name": "ziggamon2", "key": "ziggamon2", "displayName": "Sergej Kotliar", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Yeah Paul, you're a real tough guy. You really showed me there.\r\n\r\nAnd then you wonder why there's entire blogs dedicated this company's practices.\r\n\r\nThree weeks it has taken for you to look at this.\r\n\r\nOh, and by the way, there's no way for me to reopen bugs.", "updateAuthor": { "name": "ziggamon2", "key": "ziggamon2", "displayName": "Sergej Kotliar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-19T20:29:22.000+0000", "updated": "2011-12-19T20:29:22.000+0000" }, { "id": "176876", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Looks like a dupe of TIMOB-5760. Both should be tested with the fix for this ticket.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-21T11:23:32.000+0000", "updated": "2011-12-21T11:23:32.000+0000" }, { "id": "176883", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Notes for QE and reviewers -\r\n\r\nPlease functional test TIMOB-6760 in tandem with this ticket, fixversioning it appropriately for each review/modification.\r\n\r\nWhen that ticket is to finally be resolved, please mark it as a dupe, not as fixed.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-21T11:56:12.000+0000", "updated": "2011-12-21T11:56:12.000+0000" }, { "id": "179113", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing issue\r\n\r\nTested with Ti Studio 1.0.8.201201101928\r\nTi Mob SDK 1.9.0.v20120111233134\r\nOSX Lion\r\niPhone 4S, iPad 2\r\n\r\nTested this and the test in KS and expected behavior is shown", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-12T13:22:48.000+0000", "updated": "2012-01-12T13:22:48.000+0000" }, { "id": "179370", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening for manual merge to 1.8.1.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-16T09:46:24.000+0000", "updated": "2012-01-16T09:46:24.000+0000" }, { "id": "179636", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing bug. Verified fix on:\r\n\r\nSDK build: 1.9.0.v20120117114633\r\nTitanium Studio, build: 1.0.8.201201131907\r\nOS: Mac OS X Lion (10.7.1)\r\nDevice: iphone 4S (5.0.1)\r\n\r\nNote: Tested using attached code and KS > Base UI > Views > Table Views > Headers", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-17T13:50:00.000+0000", "updated": "2012-01-17T13:50:00.000+0000" } ], "maxResults": 19, "total": 19, "startAt": 0 } } }