{ "id": "121680", "key": "TIMOB-15593", "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": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-29T18:14:38.000+0000", "created": "2013-10-27T15:22:24.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "module_tableviewrow", "qe-manualtest", "triage" ], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [ { "id": "32905", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "118236", "key": "TIMOB-14888", "fields": { "summary": "iOS: TableView touchmove only fires once when dragging views in a TableViewRow", "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": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-08-14T06:41:17.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": "h5. Problem Description\r\n\r\nLabel in the TableViewRow is moving up and down (Approx. 1-2px) after every text update. If I set top attribute value on the label then working well but sometimes (On real device very often) blink after text update.\r\n\r\n \r\nh5. My testing environment follows: \r\n\r\n\r\nOS: MAC OX X 10.8.5\r\n \r\nTi SDK: 3.1.3 GA \r\nTi CLI: 3.2.0\r\nIOS simulator 7.0\r\n\r\nh5. My test code \r\n{code:javascript}\r\nvar win = Ti.UI.createWindow(),\r\n\ttable = Ti.UI.createTableView();\r\n\r\nvar rowWithLabel = Ti.UI.createTableViewRow({\r\n\twidth: Ti.UI.FILL, height: Ti.UI.FILL\r\n});\r\n\r\nvar label = Ti.UI.createLabel({\r\n\t//top: 10\r\n});\r\n\r\nrowWithLabel.add(label);\r\ntable.data = [Ti.UI.createTableViewRow(), rowWithLabel, Ti.UI.createTableViewRow()];\r\n\r\nwin.add(table);\r\nwin.open();\r\n\r\n\r\n\r\nsetInterval(function(){\r\n\tvar date = new Date(),\r\n \th = (\"0\" + date.getHours()).slice(-2),\r\n \tm = (\"0\" + date.getMinutes()).slice(-2),\r\n s = (\"0\" + date.getSeconds()).slice(-2);\r\n\r\n\tlabel.text = h + \":\" + m + \":\" + s;\r\n}, 1000);\r\n{code} \r\n\r\n\r\nh5. Step to reproduces\r\n1.\tCreate a new project\r\n2.\tPaste test code in app.js\r\n3.\tNow run on iOS 7 with simulator 7.0 \r\n4.\tSee simulator screen, its moving up and down\r\n\r\nh5. Expected result \r\n\tIt should fixed/ not moving up and down.\r\n\r\nThanks\r\n", "attachment": [], "flagged": false, "summary": "iOS: A Label in a TableViewRow shifts up and down when text is updated", "creator": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "environment": "Ti 3.1.3.GA, iOS 7", "comment": { "comments": [ { "id": "276954", "author": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*4. See simulator screen, its moving up and down*\r\n-> Only label is moving up and down.\r\n\r\n*It should fixed/ not moving up and down.*\r\nIf is used \"top\" property in the label then the label is not moving ,but blinking after text update.\r\n\r\n\r\nThank you", "updateAuthor": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-28T11:34:34.000+0000", "updated": "2013-10-28T11:36:09.000+0000" }, { "id": "277193", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Fixed along with fixes for TIMOB-14888", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-29T18:14:38.000+0000", "updated": "2013-10-29T18:14:38.000+0000" }, { "id": "279081", "author": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Tested and Verified Fix with:\r\nOSX: 10.8.5\r\nXcode:5.0\r\nAppcelerator Studio: 3.2.0.201311112306\r\nSDK: 3.2.0.v20131111174605\r\nacs:1.0.7\r\nalloy:1.3.0\r\nnpm:1.3.2\r\ntitanium:3.2.0\r\ntitanium-code-processo:1.0.3\r\nDevice: iOS7(v7.0.3)-iPodTouch1\r\nSimulator- iPhone Retina(4-inch) iOS 7.0", "updateAuthor": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-11-12T07:34:23.000+0000", "updated": "2013-11-12T07:34:23.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }