Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1154] window "close" event isn't fired for listeners registered on the creating context

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:55:21.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.4.0
ComponentsAndroid
Labelsandroid, close, context, defect, window
ReporterMarshall Culpepper
AssigneeMarshall Culpepper
Created2011-04-15T02:45:19.000+0000
Updated2011-04-17T01:55:21.000+0000

Description

If you create and open a "heavy weight" window (i.e a Window that starts it's own Activity), and register a "close" listener on the same context that you created the window, the listener will not receive the event (TiActivity only fires to listeners from it's registered list of contexts)

Comments

  1. Marshall Culpepper 2011-04-15

    (from [1d3d5bb19ed919b711dd51d736bafe20df55cce7]) TiActivity now fires "close" to it's creating context, and only fires to listeners registered on it's associated WindowProxy [#1154 state:resolved] http://github.com/appcelerator/titanium_mobile/commit/1d3d5bb19ed919b711dd51d736bafe20df55cce7"> http://github.com/appcelerator/titanium_mobile/commit/1d3d5bb19ed91...

JSON Source