Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3508] textField inside multiple views focused on window close crashes app

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionNeeds more info
Resolution Date2011-04-15T03:46:04.000+0000
Affected Version/sn/a
Fix Version/sBacklog
ComponentsAndroid
Labelsandroid, crash, defect, rplist, textfield
ReporterAlan Leard
AssigneeDon Thorp
Created2011-04-15T03:46:04.000+0000
Updated2017-03-03T17:20:03.000+0000

Description

Problem If you place a textField in a view that is inside another view, and then focus on that field when calling a window.close(); the app will crash.

If the text field is only 1 view deep or if there are multiple text fields in the view, the app will not crash.

Testing Code

See attached test code. Run app and focus on the second textfield "textField in 2 views" then click on "Close(crash)".
If you click on "Close(ok)" it will blur the field first and be fine.
Not if you just add the txtCost directly to viewBasic it won't crash either way.

Ticket Reference http://support-admin.appcelerator.com/display/IDZ-61729-148">http://support-admin.appcelerator.com/display/IDZ-61729-148

Attachments

FileDateSize
archive.zip2011-04-15T03:46:04.000+00001752

Comments

  1. Don Thorp 2011-04-15

    Please attach crash log. Also what release was this reported in.

  2. Lee Morris 2017-03-03

    Closing ticket due to time passed and irrelevance of ticket.

JSON Source