I've created an aplication with WPF. I use the command pattern (well known 'RelayCommand' implementation of ICommand, with boolean properties from INotifyPropertyChanged objects, e.g 'MyObject.HasChanges' with a custom 'Save' command to be available if HasChanges
The application is deployed on many computers, in different sites ; in some cases the commands seem to be too slow, or buggy : the controls like MenuItem, Button etc. on which the Command property is set can take several seconds to be updated (meaning e.g
their IsEnabled property will be et to true after the CanExecute call, but after a strange delay).
In all cases, the problem appears with XP ; some are SP2, others SP3 fully up-to-date via Windows Update. All have the .NET framework v.3.5 SP1, and that is regardless of the hardware performances considerations (some where I see this bug are Quad Core with
4 Go ram, and the application runs very well on some machines with Celerons and 1 Go ram...). Graphic cards can be differnts too : the problem appears with a NVidia, and with a ATI too.
I tried a lot of things, including disabling AllowsTransparency, etc... Debugger can't help, I don't know what to try after that, please help ;) !If my english isn't perfect, please excuse me -- feel free to tell me.
View Complete Post