Opened 12 years ago

Closed 12 years ago

#4223 closed defect (fixed)

infinite recursion when clicking blank area of the screen to close popup

Reported by: bill Owned by: bill
Priority: high Milestone: 0.9
Component: Dijit Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

Cougar found this. In his words:

there is a serious bug introduced recently try in the test_Editor.html page the last instance, has link button in the toolbar try to click it, and then click elsewhere to close it which leads to "too much recursion" in FF something is changed in focus node, I assume focus code.

Change History (2)

comment:1 Changed 12 years ago by bill

Owner: set to bill
Status: newassigned

comment:2 Changed 12 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [10288]) Fixes #4223: infinite recursion when clicking blank area of the screen to close popup

Changing the active widget stack calls _onBlur/_onFocus on widgets which have become inactive/active (respectively), which causes focus() calls which may loop us back around into setStack() again... make sure that doesn't call onBlur() again. IE, make sure a blurred widget only gets a single notification that it blurred.

Note: See TracTickets for help on using tickets.