Closed Bug 59463 Opened 24 years ago Closed 1 year ago

xul broadcasters created after observers don't bind

Categories

(Core :: XUL, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: hewitt, Unassigned)

Details

I don't have time at the moment to create a test case, but trust me on this 
one.  I'm writing an app in which I've got an RDF file that describes a set of 
commands, and set of keys, and a set of menuitems.  The keys and menuitems are 
set to observe the commands.  I add the datasource to the broadcasterset, 
keyset, and menus via javascript.  The observes attribute is properly set on 
the key and menu elements, all elements are created by the templates, but the 
commands don't copy their attributes over to their observers.  

For now this description will have to do, but I'll get a simple test case 
together when I get around to it.
After further investigation, I've determined the problem to be this:

if a broadcaster is created _after_ it's observers, the observers don't bind. 

Summary: template-created commands don't bind to template-created observers → xul broadcasters created after observers don't bind
Status: NEW → ASSIGNED
Keywords: helpwanted
Target Milestone: --- → Future
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
I wrote a testcase for broadcasters and observes elements, just using textboxes.  It seems to work fine with FF3.6.3... WFM?

The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.

Assignee: waterson → nobody
Status: ASSIGNED → NEW
Severity: normal → S3

Unable to reproduce in recent versions

Status: NEW → RESOLVED
Closed: 1 year ago
Keywords: helpwanted
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.