Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ufk-dev] ComboObservableValue inconsistent state.

Hi Max,

Can you please file a bug for it to track your contribution. I'm going
to be on holiday for 2 weeks now.

Tom

Am 08.07.11 03:58, schrieb Max Gordienko:
> Hi Tom,
> 
> ComboObservableValue has a problem dealing with the model-to-widget updates.
> As soon as a user sets the bound model value, ComboObservableValue
> state is out of sync.
> If a user selects the previously selected combobox value the change
> will not be propagated to the model.
> 
> Just an example to clarify the use case:
> Two values in the combobox list - "1", "2"
> 1) User selects "1" in the widget, widget - "1", model - "1".
> 2) Model is programmatically updated to "2" - widget is updated as
> well, widget - "2", model - "2".
> 3) User selects "1" again - model is not updated, widget - "1", model - "2".
> 
> Please find a patch dealing with the issue.
> 
> Thank you!
>   Max
> 
> 
> 
> _______________________________________________
> ufk-dev mailing list
> ufk-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ufk-dev



Back to the top