Skip to main content

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

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

Attachment: combobox-state.patch
Description: Binary data


Back to the top