{ "id": "114771", "key": "TIMOB-13954", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2017-06-21T20:48:29.000+0000", "created": "2013-05-22T17:17:30.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-21T20:48:29.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": "*Problem*\r\nIf a tableRow has the attribute layout \"horizontal\" and contains an view that has the attribute layout \"vertical\" and this view contains a textlabel that has has a certain number of chars or width or some strange linebreak you will experience visual issues when deleting (swipe or edit) an row.\r\n\r\n*Test case*\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n\ttitle : 'title',\r\n\tbackgroundColor : 'white'\r\n});\r\n\r\nvar tableView = Ti.UI.createTableView({\r\n\theight : Ti.UI.FILL,\r\n\twidth : '320dp',\r\n\teditable : true,\r\n\ttouchEnabled : true\r\n});\r\n\r\nwin.add(tableView);\r\nvar data = [];\r\nfor ( i = 0; i < 20; i++) {\r\n\r\n\tvar threadRowView = Ti.UI.createTableViewRow({\r\n\t\tlayout : 'horizontal'\r\n\t});\r\n\r\n\tvar threadRowContent = Ti.UI.createView({\r\n\t\tleft : '62dp',\r\n\t\theight : Ti.UI.SIZE,\r\n\t\tlayout : 'vertical',\r\n\t\twidth : '260dp'\r\n\t});\r\n\tvar textLabel = Ti.UI.createLabel({\r\n\t\twidth : '250dp',\r\n\t\ttext : 'Hallo wie gehts? Wollen wir morgen was essen gehen?',\r\n\t\tcolor : '#000',\r\n\t\tborderWidth : 1,\r\n\t\tborderColor : '#000',\r\n\t\theight : Ti.UI.SIZE\r\n\t});\r\n\r\n\tthreadRowContent.add(textLabel);\r\n\tthreadRowView.add(threadRowContent);\r\n\r\n\tdata.push(threadRowView);\r\n}\r\ntableView.setData(data);\r\nwin.open();\r\n{code}", "attachment": [ { "id": "38898", "filename": "tablebug-ios6simulator.png", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-22T18:52:27.000+0000", "size": 46226, "mimeType": "image/png" }, { "id": "38890", "filename": "tabletest.zip", "author": { "name": "flobby", "key": "flobby", "displayName": "florian bergmann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-05-22T17:17:30.000+0000", "size": 2159386, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: TableView delete causes visual issues when using layout horizontal and vertical with TextLabels", "creator": { "name": "flobby", "key": "flobby", "displayName": "florian bergmann", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "flobby", "key": "flobby", "displayName": "florian bergmann", "active": true, "timeZone": "Europe/Berlin" }, "environment": "iOS Simulator, iPhone4, iPhone5\r\nTi.SDK 3.0 - 3.1.1 (CI)\r\nMAC OSX Mountain Lion\r\nXCODE in current Version\r\nTitanium Studio in current Version", "comment": { "comments": [ { "id": "253460", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and confirmed on iOS 6 simulator with Ti SDK 3.1 GA and latest 3.2 CI.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-22T18:57:44.000+0000", "updated": "2013-05-22T18:57:44.000+0000" }, { "id": "422502", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the following environment;\r\niPhone 7 (10.2)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1.v20170620103414\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.1\r\nTi CLI 5.0.13\r\nAlloy 1.9.11\r\nArrow 2.0.0\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-21T20:48:29.000+0000", "updated": "2017-06-21T20:48:29.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }