[TIMOB-14999] iOS7: Table search - Screen flickers two times before it loads completely
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2013-08-29T23:32:38.000+0000 |
| Affected Version/s | Release 3.1.3 |
| Fix Version/s | 2013 Sprint 18, 2013 Sprint 18 API, Release 3.1.3, Release 3.2.0 |
| Components | iOS |
| Labels | ios7, module_tableview, qe-3.1.3, qe-closed-3.1.3, qe-testadded, regression |
| Reporter | Anshu Mittal |
| Assignee | Vishal Duggal |
| Created | 2013-08-29T11:01:58.000+0000 |
| Updated | 2015-02-02T20:47:45.000+0000 |
Description
Screen flickers two times before it loads completely.
This is a regression since the issue does not occur on 3.1.2 GA
Steps to reproduce:
1. Go to Kitchensink> BaseUI> Views>Table views>Table search
Actual:
Screen flickers before it loads.
Expected: Screen should not flicker.
[~srahim], thoughts?
Test case
function genWin(fs){ var win = Ti.UI.createWindow({ fullscreen:fs, backgroundColor:'white', layout:'vertical' }) var label = Ti.UI.createLabel({ top:10, text:'FULLSCREEN IS '+fs+'.' }) var b1 = Ti.UI.createButton({ top:10, title:'TRUE' }) var b2 = Ti.UI.createButton({ top:10, title:'FALSE' }) b1.addEventListener('click',function(){ openWin(true); }) b2.addEventListener('click',function(){ openWin(false); }) win.add(label); win.add(b1); win.add(b2); return win; } function openWin(fs){ var win = genWin(fs); navWin.push(win); } var rootWin = genWin(false); var navWin = Ti.UI.iOS.createNavigationWindow({ window:rootWin }) navWin.open();PR master - https://github.com/appcelerator/titanium_mobile/pull/4625
Backport to 3_1_X - https://github.com/appcelerator/titanium_mobile/pull/4626
Tested with: Appcelerator Studio, build: 3.1.3.201308292449 Titanium SDK, build: 3.1.3.v20130829174830 KS-build:3.1.3840192a(08/29/13 17:48) Devices: iPad4 iOS7 (11A4449d) iPhone5 iOS7 (11A4449d) Can see no flickering. Also, tested the above code and it works as expected, no flickering.