This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
My application is experiencing a significant slowdown when adding items to a collection that the property grid has already accessed as a property of a SelectedObject. I'm going to explain this as best as I can below, along with what I've found thus far; please let me know if more information is needed. Background: I have a multi-page WPF app. The first page displays a listbox bound to an ObservableCollection of Dimension objects. A property grid is also on the page and bound to the selected item of the listbox. Note that each Dimension object has an Attributes property, which is get-only and returns an ObservableCollection of Attribute objects. On the second page, a user can see a Dimension's collection of Attributes via a listbox. Additionally, there are buttons to add or remove objects from the Attribute collection. Finally, there's a property grid that's tied to the listbox's SelectedItem property. Scenario: As I add more attributes to the Attributes collection, my application quickly becomes sluggish. When I use VS 2008's profiler tool, I found that most time was being spent in Mindscape.WpfPropertyGrid.Node.#6(object, class System.Collections.Specialized.NotifyCollectionChangedEventArgs). Within that, the two most prominent operations were: [3 rows folded ending in "System.Collections.ObjectModel.ObservableCollection`1.RemoveItem(int32)"] 347 5 26.03 0.38 WindowsBase.ni.dll [2 rows folded ending in "Mindscape.WpfPropertyGrid.CollectionUtilities.Append(class System.Collections.Generic.ICollection`1<!!0>,class System.Collections.Generic.IEnumerable`1<!!1>)"] 415 4 31.13 0.30 Mindscape.WpfPropertyGrid.dll
Thanks for any help you can give, -Craig |
|
|
Hello Craig, We had a bug in the RTM version of the grid which caused extreme slowness and CPU load when adding items to a collection that was already displayed. If you're using RTM, could you try a nightly build (available from http://www.mindscape.co.nz/products/wpfpropertygrid/nightlybuilds.aspx or from the store)? If the problem still occurs with the nightly, let me know and I will investigate. |
|
|
The latest nightly build has fixed the problem; thanks very much! BTW, do you consider the nightly builds relatively stable to use? I'm debating whether I want to stay with the nightly or wait for the next RTM. Thanks again, -Craig |
|
|
Glad that fixed the problems. As a rule the nightly builds are pretty stable, though we occasionally mess up and ship one that's not ready for prime time. We have plenty of customers using nightly builds and we have had very
few reports of stability problems with these builds (except of course
in new features during stabilisation). My advice would be to use a current nightly rather than waiting for v2, because there are a lot of bug fixes and new features since RTM, but stick with the one you choose unless a specific need arises (e.g. you run into a bug and we need to issue a fix for you), so as to minimise the risk of regressions. v2 will be a free upgrade (in fact most of the v2 feature set is already in the current nightlies). |
|
|
I noticed when using the nightly build that a message was displayed indicating an expiration. Does this mean we'll have to periodically update our nightly build, or after 21 days will the nightly continue working because we purchased v1? |
|
|
Hi Craig, Customers should get the nightlies from http://www.mindscape.co.nz/store/myaccount.aspx rather than the public nightly build page to ensure they get a build that includes the license they purchased. As you're a customer, you should not be getting any expiry warnings. Let us know if you are getting a warning with the nightly builds from the store. Hope that helps, John-Daniel |
|
|
Hi John-Daniel, I work with Craig and own the account that has the license attached. When I go to the MyAccount page and click "Get Files", only the latest shipped version is available. No nightly builds are there. Where should I go to find a nightly build with the right license key attached?
Thanks, -Scott |
|