{ "id": "80213", "key": "TIMOB-5268", "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": "12097", "description": "", "name": "Sprint 2012-05", "archived": true, "released": true, "releaseDate": "2012-03-11" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13270", "description": "Release 1.8 Service Pack 3 (CI for 1_8_X)", "name": "Release 1.8.3", "archived": true, "released": false } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-04-16T16:15:07.000+0000", "created": "2011-09-12T10:05:00.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_view", "parity", "qe-testadded" ], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "issuelinks": [ { "id": "16629", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "89732", "key": "TIMOB-8642", "fields": { "summary": "iOS: hide and show view with vertical layout will redraw the view with layout absolute", "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": "2012-04-16T16:15:07.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": "When hiding or showing a view with a vertical layout, the view's children are shown \"flickering\" for a moment as the view appears to be re-drawn with the vertical layout. Tested on 4.3 simulator and iPod Touch 4th gen with iOS 4.3. Same behavior is not displayed on Android versions I tested. Tested on mobile SDK 1.7.2 (current production release) and on 1.8.x continuous build, issue is present in both SDKs.\r\n\r\nSimple example:\r\n{code:javascript}\r\nvar w = Ti.UI.createWindow({\r\n\tbackgroundColor:'white'\r\n});\r\n\r\nvar v = Ti.UI.createView({\r\n\theight:300,\r\n\twidth:200,\r\n\tlayout:'vertical'\r\n});\r\n\r\nvar v1 = Ti.UI.createView({\r\n\theight:10,\r\n\twidth:100,\r\n\tbackgroundColor:'red',\r\n\ttop:10\r\n});\r\nvar v2 = Ti.UI.createView({\r\n\theight:10,\r\n\twidth:100,\r\n\tbackgroundColor:'green',\r\n\ttop:10\r\n});\r\nvar v3 = Ti.UI.createView({\r\n\theight:10,\r\n\twidth:100,\r\n\tbackgroundColor:'blue',\r\n\ttop:10\r\n});\r\nv.add(v1);\r\nv.add(v2);\r\nv.add(v3);\r\nw.add(v);\r\n\r\nvar hidden = false;\r\nvar btn = Ti.UI.createButton({\r\n\ttitle:'toggle',\r\n\theight:44,\r\n\twidth:150,\r\n\tbottom:5\r\n});\r\nbtn.addEventListener('click', function() {\r\n\tif(hidden) {\r\n\t\tv.show();\r\n\t}\r\n\telse {\r\n\t\tv.hide();\r\n\t}\r\n\thidden = !hidden;\r\n});\r\n\r\nw.add(btn);\r\n\r\nw.open();\r\n\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "iOS: Redraw is shown when a view with a vertical layout is hidden/shown", "creator": { "name": "kwhinnery", "key": "kwhinnery", "displayName": "Kevin Whinnery", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "kwhinnery", "key": "kwhinnery", "displayName": "Kevin Whinnery", "active": true, "timeZone": "America/Chicago" }, "environment": "iOS 4.3, Xcode 4.0.2", "comment": { "comments": [ { "id": "174554", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Reassigning this ticket with several watchers, due to Reggie's absence.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-02T05:51:30.000+0000", "updated": "2011-12-02T05:51:30.000+0000" }, { "id": "184711", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending #1541", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-02-29T14:38:39.000+0000", "updated": "2012-02-29T14:38:39.000+0000" }, { "id": "185201", "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: 2.0.0.v20120305174654\r\nRuntime: V8, Rhino\r\nTitanium Studio, build: 1.0.9.201202141208\r\nDevices: Nexus S (2.3.6), iphone 3GS (4.3)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-03-06T11:37:46.000+0000", "updated": "2012-03-06T11:37:46.000+0000" }, { "id": "191230", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening to add fixversion, remove tags", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-16T16:14:55.000+0000", "updated": "2012-04-16T16:14:55.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }