Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-23696

Windows: Ti.App._restart() does not function correctly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 5.4.0
    • Fix Version/s: Release 6.0.0
    • Component/s: Windows
    • Labels:
    • Story Points:
      5
    • Sprint:
      2016 Sprint 16 SDK

      Description

      LiveView requires Ti.App._restart() in order to function correctly. This should reload the application instead of exiting (like it does currently).

      TEST CASE

      var win = Ti.UI.createWindow({ backgroundColor: 'blue' }),
          btn = Ti.UI.createButton({ title: 'Ti.App._restart()' });
       
      setTimeout(function () {
          win.backgroundColor = 'red';
      }, 2000);
       
      btn.addEventListener('click', function () {
          Ti.App._restart();
      });
       
      win.add(btn);
      win.open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kiguchi Kota Iguchi
                Reporter:
                gmathews Gary Mathews
                Reviewer:
                Gary Mathews
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code