{ "id": "121290", "key": "TIMOB-15508", "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": "15703", "description": "2013 Sprint 22", "name": "2013 Sprint 22", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "15704", "description": "2013 Sprint 22 API", "name": "2013 Sprint 22 API", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "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-28T18:36:15.000+0000", "created": "2013-10-16T22:34:00.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios", "triage" ], "versions": [ { "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" }, "inwardIssue": { "id": "121165", "key": "TIMOB-15473", "fields": { "summary": "iOS: TableView in TabGroup flickers when loading tab for the first time", "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" }, "outwardIssue": { "id": "121165", "key": "TIMOB-15473", "fields": { "summary": "iOS: TableView in TabGroup flickers when loading tab for the first time", "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": "2013-10-29T10:31:08.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": "Hi,\r\nSince the 3.1.3.GA I get always a flicker of the windows when they are in a tabgroup and the tab is opened the first time. Like the window doesn't really open, even if the *open* event triggers when the tabGroup opens.\r\n\r\n\r\n\r\nsample code:\r\n{code}\r\n\r\nvar tg = Ti.UI.createTabGroup({\r\n\tbackgroundColor:'black'\r\n});\r\n\r\n\r\nvar ar = ['red','green','orange','yellow'];\r\n\r\nfor (var i=0; i < ar.length; i++) {\r\n\ttg.addTab(Ti.UI.createTab({\r\n\t\twindow:Ti.UI.createWindow({\r\n\t\t\tbackgroundColor:ar[i],\r\n\t\t\ttitle:ar[i]\r\n\t\t}),\r\n\t\ttitle:ar[i]\r\n\t}))\r\n};\r\n\r\n\r\ntg.open();\r\n{code}\r\n\r\nEven in simulator, if you change the tab the first time you will see for a split second the black background.\r\nThis gets worse when the window is complex and has many components inside.\r\n\r\nThank you", "attachment": [], "flagged": false, "summary": "iOS: Windows in tabGroup flicker on first open", "creator": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "environment": "SDK 3.1.3.GA\r\niOS 6.1 / iOS 7", "comment": { "comments": [ { "id": "275843", "author": { "name": "jialhe85@gmail.com", "key": "jialhe85@gmail.com", "displayName": "David He", "active": true, "timeZone": "America/Los_Angeles" }, "body": "A lot of people have this issue. It does not happen in 3.1.2\r\n\r\nPlease get onto this ASAP since it really bad for UX", "updateAuthor": { "name": "jialhe85@gmail.com", "key": "jialhe85@gmail.com", "displayName": "David He", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-19T13:17:37.000+0000", "updated": "2013-10-19T13:17:37.000+0000" }, { "id": "276702", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Second test case from TIMOB-15473\n{code}\nTitanium.UI.setBackgroundColor('#000');\n \nvar tabGroup = Titanium.UI.createTabGroup();\n \n \nvar win1 = Titanium.UI.createWindow({ \n title:'Tab 1',\n backgroundColor:'#fff'\n});\nvar tab1 = Titanium.UI.createTab({ \n icon:'KS_nav_views.png',\n title:'Tab 1',\n window:win1\n});\n \nvar sectionFruit = Ti.UI.createTableViewSection({ headerTitle: 'Fruit' });\nsectionFruit.add(Ti.UI.createTableViewRow({ title: 'Apples' , backgroundImage:\"backgroundNews.png\"}));\nsectionFruit.add(Ti.UI.createTableViewRow({ title: 'Bananas' , backgroundImage:\"backgroundNews.png\"}));\n \nvar sectionVeg = Ti.UI.createTableViewSection({ headerTitle: 'Vegetables' });\nsectionVeg.add(Ti.UI.createTableViewRow({ title: 'Carrots' , backgroundImage:\"backgroundNews.png\"}));\nsectionVeg.add(Ti.UI.createTableViewRow({ title: 'Potatoes' , backgroundImage:\"backgroundNews.png\"}));\n \nvar sectionFish = Ti.UI.createTableViewSection({ headerTitle: 'Fish' });\nsectionFish.add(Ti.UI.createTableViewRow({ title: 'Cod' , backgroundImage:\"backgroundNews.png\"}));\nsectionFish.add(Ti.UI.createTableViewRow({ title: 'Haddock' , backgroundImage:\"backgroundNews.png\"}));\n \nvar table = Ti.UI.createTableView({\n data: [sectionFruit, sectionVeg, sectionFish]\n});\n \nwin1.add(table);\n \nvar win2 = Titanium.UI.createWindow({ \n title:'Tab 2',\n backgroundColor:'#fff'\n});\nvar tab2 = Titanium.UI.createTab({ \n icon:'KS_nav_ui.png',\n title:'Tab 2',\n window:win2\n});\n \nvar sectionFruit2 = Ti.UI.createTableViewSection({ headerTitle: 'Fruit' });\nsectionFruit2.add(Ti.UI.createTableViewRow({ title: 'Apples' , backgroundImage:\"backgroundNews.png\"}));\nsectionFruit2.add(Ti.UI.createTableViewRow({ title: 'Bananas' , backgroundImage:\"backgroundNews.png\"}));\n \nvar sectionVeg2 = Ti.UI.createTableViewSection({ headerTitle: 'Vegetables' });\nsectionVeg2.add(Ti.UI.createTableViewRow({ title: 'Carrots' , backgroundImage:\"backgroundNews.png\"}));\nsectionVeg2.add(Ti.UI.createTableViewRow({ title: 'Potatoes' , backgroundImage:\"backgroundNews.png\"}));\n \nvar sectionFish2 = Ti.UI.createTableViewSection({ headerTitle: 'Fish' });\nsectionFish2.add(Ti.UI.createTableViewRow({ title: 'Cod' , backgroundImage:\"backgroundNews.png\"}));\nsectionFish2.add(Ti.UI.createTableViewRow({ title: 'Haddock' , backgroundImage:\"backgroundNews.png\"}));\n \nvar table = Ti.UI.createTableView({\n data: [sectionFruit2, sectionVeg2, sectionFish2]\n});\n \nwin2.add(table);\n \nvar win3 = Titanium.UI.createWindow({ \n title:'Tab 3',\n backgroundColor:'#fff'\n});\nvar tab3 = Titanium.UI.createTab({ \n icon:'KS_nav_ui.png',\n title:'Tab 3',\n window:win3\n});\n \nvar sectionFruit3 = Ti.UI.createTableViewSection({ headerTitle: 'Fruit' });\nsectionFruit3.add(Ti.UI.createTableViewRow({ title: 'Apples' , backgroundImage:\"backgroundNews.png\"}));\nsectionFruit3.add(Ti.UI.createTableViewRow({ title: 'Bananas' , backgroundImage:\"backgroundNews.png\"}));\n \nvar sectionVeg3 = Ti.UI.createTableViewSection({ headerTitle: 'Vegetables' });\nsectionVeg3.add(Ti.UI.createTableViewRow({ title: 'Carrots' , backgroundImage:\"backgroundNews.png\"}));\nsectionVeg3.add(Ti.UI.createTableViewRow({ title: 'Potatoes' , backgroundImage:\"backgroundNews.png\"}));\n \nvar sectionFish3 = Ti.UI.createTableViewSection({ headerTitle: 'Fish' });\nsectionFish3.add(Ti.UI.createTableViewRow({ title: 'Cod' , backgroundImage:\"backgroundNews.png\"}));\nsectionFish3.add(Ti.UI.createTableViewRow({ title: 'Haddock' , backgroundImage:\"backgroundNews.png\"}));\n \nvar table = Ti.UI.createTableView({\n data: [sectionFruit3, sectionVeg3, sectionFish3]\n});\n \nwin3.add(table);\n \ntabGroup.addTab(tab1); \ntabGroup.addTab(tab2); \ntabGroup.addTab(tab3);\n \n \ntabGroup.open();\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-24T23:11:46.000+0000", "updated": "2013-10-24T23:11:46.000+0000" }, { "id": "276703", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending against master\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4846", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-24T23:16:27.000+0000", "updated": "2013-10-24T23:16:27.000+0000" }, { "id": "277123", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Changing the tabs does not flicker any more.\r\nIssue is reproducible for sdk: 3.1.3.GA.\r\nVerified the fix and hence closing the issue.\r\n\r\nEnvironment used:\r\nDevice : iPad 3, iOS version: 7\r\nDevice : iPad mini, iOS version: 6\r\nSDK: 3.2.0.v20131028222444\r\nCLI version : 3.2.0\r\nOS : MAC OSX 10.8.4\r\nAlloy : 1.2.2\r\nAppcelerator Studio, build: 3.2.0.201310280656\r\nXCode : 5\r\n", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-10-29T10:31:08.000+0000", "updated": "2013-10-29T10:31:08.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }