Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14999] iOS7: Table search - Screen flickers two times before it loads completely

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-08-29T23:32:38.000+0000
Affected Version/sRelease 3.1.3
Fix Version/s2013 Sprint 18, 2013 Sprint 18 API, Release 3.1.3, Release 3.2.0
ComponentsiOS
Labelsios7, module_tableview, qe-3.1.3, qe-closed-3.1.3, qe-testadded, regression
ReporterAnshu Mittal
AssigneeVishal Duggal
Created2013-08-29T11:01:58.000+0000
Updated2015-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.

Comments

  1. Ingo Muschenetz 2013-08-29

    [~srahim], thoughts?
  2. Vishal Duggal 2013-08-29

    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();
       
  3. Vishal Duggal 2013-08-29

    PR master - https://github.com/appcelerator/titanium_mobile/pull/4625
  4. Vishal Duggal 2013-08-29

    Backport to 3_1_X - https://github.com/appcelerator/titanium_mobile/pull/4626
  5. Olga Romero 2013-08-30

    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.

JSON Source