{ "id": "121165", "key": "TIMOB-15473", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-10-28T17:06:00.000+0000", "created": "2013-10-14T11:20:24.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "supportTeam", "triage" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [ { "id": "32785", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "121290", "key": "TIMOB-15508", "fields": { "summary": "iOS: Windows in tabGroup flicker on first open", "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": "32694", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "121290", "key": "TIMOB-15508", "fields": { "summary": "iOS: Windows in tabGroup flicker on first open", "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": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T22:12:38.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. Description\r\nWhen each tab is touched for the FIRST time (only) the screen \"blacks out\" and then after that (say 1/2 a second later), renders the window. successive taps back to that tab are fine and the window appears instantly in each tab.\r\n\r\nNote : Issue is reproducible with alloy also.\r\n\r\nh2. Test Case\r\n{code}\r\n\r\nTitanium.UI.setBackgroundColor('#000');\r\n\r\nvar tabGroup = Titanium.UI.createTabGroup();\r\n\r\n\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\nvar tab1 = Titanium.UI.createTab({ \r\n icon:'KS_nav_views.png',\r\n title:'Tab 1',\r\n window:win1\r\n});\r\n\r\nvar sectionFruit = Ti.UI.createTableViewSection({ headerTitle: 'Fruit' });\r\nsectionFruit.add(Ti.UI.createTableViewRow({ title: 'Apples' , backgroundImage:\"backgroundNews.png\"}));\r\nsectionFruit.add(Ti.UI.createTableViewRow({ title: 'Bananas' , backgroundImage:\"backgroundNews.png\"}));\r\n\r\nvar sectionVeg = Ti.UI.createTableViewSection({ headerTitle: 'Vegetables' });\r\nsectionVeg.add(Ti.UI.createTableViewRow({ title: 'Carrots' , backgroundImage:\"backgroundNews.png\"}));\r\nsectionVeg.add(Ti.UI.createTableViewRow({ title: 'Potatoes' , backgroundImage:\"backgroundNews.png\"}));\r\n\r\nvar sectionFish = Ti.UI.createTableViewSection({ headerTitle: 'Fish' });\r\nsectionFish.add(Ti.UI.createTableViewRow({ title: 'Cod' , backgroundImage:\"backgroundNews.png\"}));\r\nsectionFish.add(Ti.UI.createTableViewRow({ title: 'Haddock' , backgroundImage:\"backgroundNews.png\"}));\r\n\r\nvar table = Ti.UI.createTableView({\r\n data: [sectionFruit, sectionVeg, sectionFish]\r\n});\r\n\r\nwin1.add(table);\r\n\r\nvar win2 = Titanium.UI.createWindow({ \r\n title:'Tab 2',\r\n backgroundColor:'#fff'\r\n});\r\nvar tab2 = Titanium.UI.createTab({ \r\n icon:'KS_nav_ui.png',\r\n title:'Tab 2',\r\n window:win2\r\n});\r\n\r\nvar sectionFruit2 = Ti.UI.createTableViewSection({ headerTitle: 'Fruit' });\r\nsectionFruit2.add(Ti.UI.createTableViewRow({ title: 'Apples' , backgroundImage:\"backgroundNews.png\"}));\r\nsectionFruit2.add(Ti.UI.createTableViewRow({ title: 'Bananas' , backgroundImage:\"backgroundNews.png\"}));\r\n\r\nvar sectionVeg2 = Ti.UI.createTableViewSection({ headerTitle: 'Vegetables' });\r\nsectionVeg2.add(Ti.UI.createTableViewRow({ title: 'Carrots' , backgroundImage:\"backgroundNews.png\"}));\r\nsectionVeg2.add(Ti.UI.createTableViewRow({ title: 'Potatoes' , backgroundImage:\"backgroundNews.png\"}));\r\n\r\nvar sectionFish2 = Ti.UI.createTableViewSection({ headerTitle: 'Fish' });\r\nsectionFish2.add(Ti.UI.createTableViewRow({ title: 'Cod' , backgroundImage:\"backgroundNews.png\"}));\r\nsectionFish2.add(Ti.UI.createTableViewRow({ title: 'Haddock' , backgroundImage:\"backgroundNews.png\"}));\r\n\r\nvar table = Ti.UI.createTableView({\r\n data: [sectionFruit2, sectionVeg2, sectionFish2]\r\n});\r\n\r\nwin2.add(table);\r\n\r\nvar win3 = Titanium.UI.createWindow({ \r\n title:'Tab 3',\r\n backgroundColor:'#fff'\r\n});\r\nvar tab3 = Titanium.UI.createTab({ \r\n icon:'KS_nav_ui.png',\r\n title:'Tab 3',\r\n window:win3\r\n});\r\n\r\nvar sectionFruit3 = Ti.UI.createTableViewSection({ headerTitle: 'Fruit' });\r\nsectionFruit3.add(Ti.UI.createTableViewRow({ title: 'Apples' , backgroundImage:\"backgroundNews.png\"}));\r\nsectionFruit3.add(Ti.UI.createTableViewRow({ title: 'Bananas' , backgroundImage:\"backgroundNews.png\"}));\r\n\r\nvar sectionVeg3 = Ti.UI.createTableViewSection({ headerTitle: 'Vegetables' });\r\nsectionVeg3.add(Ti.UI.createTableViewRow({ title: 'Carrots' , backgroundImage:\"backgroundNews.png\"}));\r\nsectionVeg3.add(Ti.UI.createTableViewRow({ title: 'Potatoes' , backgroundImage:\"backgroundNews.png\"}));\r\n\r\nvar sectionFish3 = Ti.UI.createTableViewSection({ headerTitle: 'Fish' });\r\nsectionFish3.add(Ti.UI.createTableViewRow({ title: 'Cod' , backgroundImage:\"backgroundNews.png\"}));\r\nsectionFish3.add(Ti.UI.createTableViewRow({ title: 'Haddock' , backgroundImage:\"backgroundNews.png\"}));\r\n\r\nvar table = Ti.UI.createTableView({\r\n data: [sectionFruit3, sectionVeg3, sectionFish3]\r\n});\r\n\r\nwin3.add(table);\r\n\r\ntabGroup.addTab(tab1); \r\ntabGroup.addTab(tab2); \r\ntabGroup.addTab(tab3);\r\n\r\n\r\ntabGroup.open();\r\n\r\n{code}", "attachment": [ { "id": "43187", "filename": "tabview_flicker_ios7.mp4", "author": { "name": "rsharma", "key": "rsharma", "displayName": "Rupesh Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-15T10:49:25.000+0000", "size": 504449, "mimeType": "video/mp4" } ], "flagged": false, "summary": "iOS: TableView in TabGroup flickers when loading tab for the first time", "creator": { "name": "rsharma", "key": "rsharma", "displayName": "Rupesh Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rsharma", "key": "rsharma", "displayName": "Rupesh Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS 6 & 7\r\nSimulator, iPhone 4s (iOS7), iPhone 4 (iOS 6)\r\nTi SDK, 3.1.1, 3.1.3", "comment": { "comments": [ { "id": "276294", "author": { "name": "angus_johnston@me.com", "key": "angus_johnston@me.com", "displayName": "Angus Johnston", "active": true, "timeZone": "Australia/Sydney" }, "body": "hi, am i correct in understanding that this fix will be rolled out in V3.2.0 ?\r\n\r\ntxs\r\nangus\r\n", "updateAuthor": { "name": "angus_johnston@me.com", "key": "angus_johnston@me.com", "displayName": "Angus Johnston", "active": true, "timeZone": "Australia/Sydney" }, "created": "2013-10-23T02:11:43.000+0000", "updated": "2013-10-23T02:11:43.000+0000" }, { "id": "276701", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Same issue with different test case", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-24T23:09:42.000+0000", "updated": "2013-10-24T23:09:42.000+0000" }, { "id": "414058", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T22:12:38.000+0000", "updated": "2017-03-20T22:12:38.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }