exposedSignals_ does not track id changes
When an object ID is changed, the exposedSignals list is not appropriately updated for JSignals.
Testcase: in TreeviewDragDrop.C, add a setId("myid") call right after the instantiation of the WTreeView object.
Error output reports:
"decodeSignal(): signal 'myid.itemEvent' not exposed"
Updated by Koen Deforche over 12 years ago
There are several problems with calling setId() on complex widgets such as WTableView and WTreeView:
- JSignal's (as above), this is rather easy to fix
- css rules private to the widget, this is somewhat harder to fix
It's opening pandora's box. Is this for testing purposes? But it is nowhere defined (or even trivial) to disect how these widgets are composed. I'ld rather argue to set id's in WItemDelegate to supervise the contents in a test environment ?