-
-
Notifications
You must be signed in to change notification settings - Fork 521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ComboBox items don't update properly on ItemsSource binding source collection changes #256
Comments
Are you really sure that this issue does not occur with a regular ComboBox? |
Yes, I've checked the default WPF ComboBox and it seems to work properly. I can build a small repro app if you'd like to have one. But it is really very simple, two lines of code. |
So here is the code to reproduce the issue. XAML markup:
The code-behind:
And the "view model":
As you see, there is nothing special, just as simple as possible. Though the WPF ComboBox displays its items properly while the Fluent Ribbon ComboBox does not (in that use case as described: first open the drop-down, then add items). |
Will have a look at it later. |
Had no time today, I am pretty busy writing the showcase application for ControlzEx and fixing all WindowChrome issues there. |
…f invoking async action on dispatcher
It seems that the issue appears again in v4.0.3.394. Additional side effect: when removing an item from bound collection, an empty row is still being shown for this item in the drop-down. Should I create a new issue or better reopen this one? |
Could you try to reproduce this with the current version from the develop branch? |
Yes, I could reproduce it with the version 4.0.3.398 obtained via appveyor. |
That's not the latest (prerelease) version from the develop branch. |
Sorry, my fault. Didn't set the "Include prerelease" flag. The dev0419 revision seems to be OK! Any plans when v5.0 comes out? |
Currently not. Got very limited time to work on OSS at the moment. |
Let's bind a Fluent ComboBox ItemsSource propery to an ObservableCollection containing at least one item:
XAML:
How to reproduce the issue:
If we don't open the drop down first (skip steps 2 and 4), then all items will appear correctly in the drop down. Yeah, you need to open it to check the items, so after that all new items will not be added immediately.
Sometimes the new item appears in the drop down though, even if the drop down has been opened and closed first. But that is a rare case anyway.
The text was updated successfully, but these errors were encountered: