{ "id": "89279", "key": "TIMOB-8454", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13277", "name": "Sprint 2012-08", "archived": true, "released": true, "releaseDate": "2012-04-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-07-12T02:42:15.000+0000", "created": "2012-03-30T13:07:21.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "core", "module_tableview", "qe-testadded" ], "versions": [ { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [ { "id": "21907", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "103095", "key": "TIMOB-11375", "fields": { "summary": "Android: TableView - Missing tableView with tableViewRows on Android", "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 } } } }, { "id": "21570", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "101929", "key": "TIMOB-11103", "fields": { "summary": "iOS: TableView - Touchmove event is not fired.", "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": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-12-03T19:38: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": "*Code*\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tfullscreen : false,\r\n\tbackgroundColor : 'white'\r\n});\r\n\r\nvar tableView = Ti.UI.createTableView({\r\n\ttop : '0dp',\r\n\tbottom : '0dp',\r\n\tleft : '0dp',\r\n\tright : '0dp'\r\n});\r\n\r\nvar numRows = 15;\r\nvar rows = [];\r\nfor (var i = 0; i < numRows; i++){\r\n\tvar tableViewRow = Ti.UI.createTableViewRow({\r\n\t\theight : 'auto'\r\n\t});\r\n\t\r\n\tvar textField = Ti.UI.createTextField({\r\n\t\ttop:'0dp',\r\n\t\tleft : '5dp',\r\n\t\tright : '5dp',\r\n\t\tborderColor : '#CCCCCC',\r\n\t\tborderStyle : Ti.UI.INPUT_BORDERSTYLE_BEZEL\r\n\t});\r\n\t\r\n\ttableViewRow.add(textField);\r\n\t\r\n\trows.push(tableViewRow);\r\n}\r\ntableView.data = rows;\r\nwin.add(tableView);\r\nwin.open();\r\n{code}\r\n\r\n*Expected behavior*\r\nWhen tapping on one of the Ti.UI.TextField objects, and then pressing the 'return' key on the keyboard, it should work fine, without any issues.\r\n\r\n*Actual behavior*\r\nWhen you do the above, once the keyboard slides down, you can scroll down the Ti.UI.TableView, meaning extra, unnecessary entries have been added to the list. This was not possible, before you focused on a Ti.UI.TextField object.\r\n\r\n*Notes*\r\n-Only tested on the iOS simulator.\r\n-Will update customer priority, once I get a reply.\r\n-HD ticket: http://support-admin.appcelerator.com/display/APP-929387", "attachment": [], "flagged": false, "summary": "iOS: Ti.UI.TableView containing a Ti.UI.TableViewRow containing a Ti.UI.TextField adds blank space at the bottom", "creator": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "environment": "Titanium SDK version: 1.8.2\r\nPlatform & version: iOS 5.0 simulator \r\nHost Operating System: OSX 10.7.2\r\nTitanium Studio version: 1.0.9.201202141208", "comment": { "comments": [ { "id": "189608", "author": { "name": "ryanmarr934", "key": "ryanmarr934", "displayName": "Ryan Marr", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I represent the company that originally reported this issue. You deleted my help desk ticket and I have no other means of contacting you. The issue in question is annoying, ugly and reflects poorly on our organization's ability to provide a quality experience to our customers. I would like this fixed sooner than later please!", "updateAuthor": { "name": "ryanmarr934", "key": "ryanmarr934", "displayName": "Ryan Marr", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-03T05:25:26.000+0000", "updated": "2012-04-03T05:25:26.000+0000" }, { "id": "189637", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Hi Ryan,\r\n\r\nLooks like your ticket has been deleted/moved by the system somehow.\r\nWhen do you need this fixed by? What is the latest date you can wait till? We will try and schedule this to be fixed before that given timeframe. Please just comment on this JIRA ticket. \r\n\r\nThanks", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-04-03T08:53:27.000+0000", "updated": "2012-04-03T08:53:27.000+0000" }, { "id": "189645", "author": { "name": "ryanmarr934", "key": "ryanmarr934", "displayName": "Ryan Marr", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Any chance you can have it fixed by Friday 4/6/2012?", "updateAuthor": { "name": "ryanmarr934", "key": "ryanmarr934", "displayName": "Ryan Marr", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-03T09:21:23.000+0000", "updated": "2012-04-03T09:21:23.000+0000" }, { "id": "189649", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "We will try our best to get this sorted as soon as possible, I have made the team aware of this.", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-04-03T09:51:54.000+0000", "updated": "2012-04-03T09:51:54.000+0000" }, { "id": "190358", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Fixed by PR 1930 against TIMOB-1902.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-04-09T12:48:20.000+0000", "updated": "2012-04-09T12:48:20.000+0000" }, { "id": "199379", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing issue\r\n\r\nTested with Ti Studio build 2.1.0.201206200844\r\nTi Mobile SDK 2.1.0.v20120619172256 hash rd3a84b13\r\nOSX Lion 10.7.3\r\niPhone 4S OS 5.1\r\n\r\nThe expected behavior is shown", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-20T11:23:18.000+0000", "updated": "2012-06-20T11:23:18.000+0000" }, { "id": "202884", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Re-opening to edit label", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-12T02:41:50.000+0000", "updated": "2012-07-12T02:41:50.000+0000" }, { "id": "229564", "author": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "I'm still experiencing this bug on 2.1.4.GA\r\n\r\nWhen you focus on a textfield, there's a lot of extra space added to the bottom of the tableview... after you close the keyboard the extra space remains and ruins the design.", "updateAuthor": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2012-12-03T15:25:28.000+0000", "updated": "2012-12-03T15:25:28.000+0000" }, { "id": "229567", "author": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Also, this problem seems to be haunting Titanium since forever:\r\n\r\n\r\nhttp://developer.appcelerator.com/question/58451/tableview-displacement-bug", "updateAuthor": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2012-12-03T15:39:40.000+0000", "updated": "2012-12-03T15:39:40.000+0000" }, { "id": "229596", "author": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "It seems I can get a temporary fix by calling tableView.setContentInsets({top: 0, bottom: 0, right: 0, left: 0}); on blur for all textFields and textAreas inside the tableView.\r\n\r\nStill not the best / expected behavior for this.", "updateAuthor": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2012-12-03T17:32:36.000+0000", "updated": "2012-12-03T17:32:36.000+0000" }, { "id": "229634", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ygor, I tested 2.1.4 and 3.0.0.RC with 5.0/6.0 iPhone versions and was not able to reproduce . Please provide steps and/or sample code.", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-03T19:32:34.000+0000", "updated": "2012-12-03T19:32:34.000+0000" }, { "id": "229635", "author": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "I've made a simple tableview with lots of TextFields inside and it doesn't happen indeed... It seems to only happen on windows with severely customized tableViewRows and other elements added to the window (like pickers) that would show upon specific events... thing is that the pickers don't break the tableview content insets... only the textviews...\r\n\r\nI'll investigate further so I can come up with a valid testcase since I can't post sensitive code here... Will come with something soon", "updateAuthor": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2012-12-03T19:38:06.000+0000", "updated": "2012-12-03T19:38:06.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }