Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23879] Windows: Unexpected behaviour when rebuilding an app and app is already open on device

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2016-10-13T16:12:09.000+0000
Affected Version/sRelease 6.0.0
Fix Version/sRelease 6.1.0
ComponentsWindows
Labelsqe-6.0.0
ReporterEwan Harris
AssigneeKota Iguchi
Created2016-09-08T15:33:32.000+0000
Updated2016-12-02T23:37:51.000+0000

Description

Description

When building to a device with a Titanium app that is already open there is some unexpected behaviour. When the

Steps to reproduce

Build an app using appc run -p windows -T wp-device

Once the app has launched, quit the process and *leave the app open on device*

Make an obvious change in the app, such as changing the background colour or label text

Rebuild the app appc run -p windows -T wp-device

Observe the app

Actual result

While the build process installs the app the app that is on the device will close and then restart, the app will not have changed and will be the same app from step 2

Expected result

This behaviour should not happen

Comments

  1. Kota Iguchi 2016-09-16

    https://github.com/appcelerator/windowslib/pull/58
  2. Kota Iguchi 2016-10-13

    Additional note: windowslib version in [titanium_mobile](https://github.com/appcelerator/titanium_mobile) needs to be bumped up in order to close this ticket.
  3. Gary Mathews 2016-10-14

    [~kota] titanium_mobile: https://github.com/appcelerator/titanium_mobile/pull/8512
  4. Kota Iguchi 2016-10-17

    Merged titanium_mobile/pull/8512 (y)
  5. Samir Mohammed 2016-12-02

    Verified fixed, the app now terminates and then re-launches with the updated changes. *Environment*
       Operating System
         Name                        = Microsoft Windows 10 Pro
         Version                     = 10.0.14393
         Architecture                = 64bit
         # CPUs                      = 4
         Memory                      = 17034395648
       
       Node.js
         Node.js Version             = 4.4.4
         npm Version                 = 2.11.3
       
       Titanium CLI
         CLI Version                 = 5.0.10
       
       Titanium SDK
         SDK Version                 = 6.1.0.v20161202124434
         SDK Path                    = C:\ProgramData\Titanium\mobilesdk\win32\6.1.0.v20161202124434
         Target Platform             = windows
       

JSON Source