Project

General

Profile

Actions

Bug #841

open

exposedSignals_ does not track id changes

Added by Wim Dumon almost 13 years ago. Updated almost 13 years ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
Start date:
05/30/2011
Due date:
% Done:

0%

Estimated time:

Description

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"

Actions #1

Updated by Koen Deforche almost 13 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 ?

koen

Actions

Also available in: Atom PDF