Closed GoogleCodeExporter closed 8 years ago
I'm attaching a form that demonstrates this issue.
Looking in the debugger, it seems that isEnabled() always returns true for the
group
in this form, because isWired is never set to true on it. The isWired property
should
be set to true in a closure that is spawned during Model.addControl(). However,
that
code is not executed, despite being correctly called from
MIPHandler.addcontroltomodel(), because Model.m_bIsReady is false at the time.
I've
no idea whether that is supposed to be the case or what.
The other possibility is that the call to getProxyNode() in isEnabled should
come
before the test of the isWired property. The precise reason for the existence
of
isWired is something I'm quite unsure about at the moment, but hopefully more
investigation will remedy that.
Original comment by phil.boo...@gtempaccount.com
on 19 Oct 2009 at 3:58
Attachments:
Awaiting review at r3096.
Original comment by phil.boo...@gtempaccount.com
on 20 Oct 2009 at 10:21
This problem was occurring because the setting of Container.isWired to true was
not
happening in all necessary paths of execution. The changes at r3097 rectify
this, by
moving the code into MIPHandler.rewire().
Marking this issue as fixed.
Original comment by phil.boo...@gtempaccount.com
on 20 Oct 2009 at 2:26
Issue 452 has been merged into this issue.
Original comment by phil.boo...@gtempaccount.com
on 20 Oct 2009 at 2:29
Issue 459 has been merged into this issue.
Original comment by phil.boo...@gtempaccount.com
on 20 Oct 2009 at 2:32
Original issue reported on code.google.com by
phil.boo...@gtempaccount.com
on 19 Oct 2009 at 2:28