Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 3.2.3
    • Fix Version/s: Release 3.4.0
    • Component/s: iOS
    • Labels:
    • Environment:

      iPhone

    • Story Points:
      13
    • Sprint:
      2014 Sprint 13 SDK, 2014 Sprint 15 SDK, 2014 Sprint 17 SDK

      Description

      ListView with a search, where the itemclick event opens a window.

      This defect works in the ElementsOfListView tutorial app ( https://github.com/appcelerator-services/ElementsOfListView ). The customer is having the same issue in their own app.

      1) Wait for the elements list to open
      2) Scroll down a bit, half a screen or more.
      3) Click on an element (the name, not the symbol) and wait for the new window to open.
      4) Close that new window by clicking the "Done" button.
      5) Scroll back up to the top. Notice there is a white space where the Search was.

      At this point, it should be noted that the search is still there, it just appears blank. If you click into it, it'll appear as it should.

      Edit:

      Simpler test case, copy and paste into app.js

      function MainWindow() {
          var win = Ti.UI.createWindow({
            backgroundColor: 'white'
          });
       
          var items = [];
          for(var i = 0; i < 100; i++) {
              items.push({
                  properties:{
                      title: 'Row #' + (i + 1),
                      searchableText: 'Row #' + (i + 1)
                  }
              });
          }
       
          var listViewSection = Ti.UI.createListSection({
              items: items
          });
          var searchBar = Ti.UI.createSearchBar();
          var listView = Ti.UI.createListView({
              sections: [listViewSection],
              searchView: searchBar
          });
          win.add(listView);
       
          listView.addEventListener('itemclick', function(){
              SecondWindow().open({modal:true});
          });
          return win;
      }
       
      function SecondWindow() {
          var navWindow = Ti.UI.iOS.createNavigationWindow();
          var win = Ti.UI.createWindow({
              backgroundColor: 'gray'
          });
          var closeBtn = Ti.UI.createButton({
              title: 'close'
          });
          win.rightNavButton = closeBtn;
          navWindow.window = win;
          closeBtn.addEventListener('click', function(){
              navWindow.close();
          });
          return navWindow;
      }
      MainWindow().open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jalter Jon Alter
                Reporter:
                twilkinson Thomas Wilkinson
                Reviewer:
                Pedro Enrique (Inactive)
                Tester:
                Wilson Luu (Inactive)
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-18733
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code