Missing SetChanged notification [message #1076698] |
Wed, 31 July 2013 14:59  |
Eclipse User |
|
|
|
Hi,
we have set up a somewhat complex data binding scenario, where we have need to manage multiple computed collections together.
With list implementations, we have simply put ComputedLists into a MultiList, and everything was working as expected. On the other hand, when putting ComputedSets into a UnionSet, we have experienced some missing change notifications.
After some debugging, we found that the change notifications are not propagated properly between the ComputedSets and UnionSets, and we also managed to create a short application that reproduces it:
https://gist.github.com/ujhelyiz/6124893/325ec18738ff6d679e4d3b37c8713294521ee6be
Our basic problem is that the ISetChangeListener of the UnionSet is not called if the change originates from a ComputedSet; however, each case the Sets are queried, the result is correct.
We are not sure whether we have missed something, or maybe we have found a bug in JFace Data Binding. Can someone help us what might we do wrong?
Thanks in advance,
Zoltán
|
|
|
Re: Missing SetChanged notification [message #1076995 is a reply to message #1076698] |
Thu, 01 August 2013 01:34   |
Eclipse User |
|
|
|
Zoltan,
Perhaps it's a good idea to open a bugzilla with your test case so that
the data binding developers who might not look at the newsgroup will see
the problem report. Developers always appreciate a simple test case
that reproduces the reported problem...
On 31/07/2013 8:59 PM, Zoltan Ujhelyi wrote:
> Hi,
>
> we have set up a somewhat complex data binding scenario, where we have
> need to manage multiple computed collections together.
>
> With list implementations, we have simply put ComputedLists into a
> MultiList, and everything was working as expected. On the other hand,
> when putting ComputedSets into a UnionSet, we have experienced some
> missing change notifications.
>
> After some debugging, we found that the change notifications are not
> propagated properly between the ComputedSets and UnionSets, and we
> also managed to create a short application that reproduces it:
> https://gist.github.com/ujhelyiz/6124893/325ec18738ff6d679e4d3b37c8713294521ee6be
>
>
> Our basic problem is that the ISetChangeListener of the UnionSet is
> not called if the change originates from a ComputedSet; however, each
> case the Sets are queried, the result is correct.
>
> We are not sure whether we have missed something, or maybe we have
> found a bug in JFace Data Binding. Can someone help us what might we
> do wrong?
>
> Thanks in advance,
> Zoltán
|
|
|
|
Powered by
FUDForum. Page generated in 0.07086 seconds