Click here to Skip to main content
15,913,854 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Animated button in WPF Pin
newc112-Feb-08 3:55
newc112-Feb-08 3:55 
GeneralRe: Animated button in WPF Pin
Pawel Gielmuda12-Feb-08 4:12
Pawel Gielmuda12-Feb-08 4:12 
GeneralTree view Pin
IWannaTalk11-Feb-08 21:23
IWannaTalk11-Feb-08 21:23 
GeneralRe: Tree view Pin
User 27100912-Feb-08 2:31
User 27100912-Feb-08 2:31 
GeneralRe: Tree view Pin
IWannaTalk12-Feb-08 2:45
IWannaTalk12-Feb-08 2:45 
QuestionCommand performance problem Pin
Super Lloyd11-Feb-08 13:13
Super Lloyd11-Feb-08 13:13 
GeneralRe: Command performance problem Pin
User 27100911-Feb-08 13:45
User 27100911-Feb-08 13:45 
GeneralRe: Command performance problem Pin
Super Lloyd11-Feb-08 14:18
Super Lloyd11-Feb-08 14:18 
well, I'm not really working there anymore but the problem still haunt me!...
the application could be found there: http://www.novamind.com/[^]

All the button/controls on the ribbon are command source. There are lots of them. Most are enable all the time (although one could argue that invisible control should be disable, I'm not sure about what happen the ribbon control is a 3rd party, anyway some panel have a lot button).

What really slow down the app is text imput.
The main view is a legacy GDI+ control. The input text box in the view is a custom made text view (not a subclass of TextBoxBas, but of Control with custom text rendering via interop with Uniscribe, but with good perf, as it is able to paste 400k of text rich with the same perf as word).
But in NM3 it was already limit, big map slowing the application perceply (as not only we should layout the text, but move all the map's graphics and the autolayouting algorithm is time consuming)

Anyway on each key up, all command state is re-evaluate, and although each is relatively quick individually text processing was already putting us down (not only the text control shold do the layout, but we might need to move/relayout all graphics on the map as well...)

because of that NM4 using WPF (& commands) is slower than NM3 were that there was no such unnecessary work on key up...


is it a bit more clear now?!?
GeneralRe: Command performance problem Pin
User 27100911-Feb-08 14:21
User 27100911-Feb-08 14:21 
GeneralRe: Command performance problem Pin
Josh Smith12-Feb-08 7:41
Josh Smith12-Feb-08 7:41 
GeneralRe: Command performance problem Pin
User 27100912-Feb-08 7:43
User 27100912-Feb-08 7:43 
GeneralRe: Command performance problem Pin
Josh Smith12-Feb-08 7:45
Josh Smith12-Feb-08 7:45 
GeneralRe: Command performance problem Pin
User 27100912-Feb-08 7:47
User 27100912-Feb-08 7:47 
GeneralRe: Command performance problem Pin
Josh Smith12-Feb-08 7:48
Josh Smith12-Feb-08 7:48 
GeneralRe: Command performance problem Pin
User 27100912-Feb-08 7:50
User 27100912-Feb-08 7:50 
GeneralRe: Command performance problem Pin
Josh Smith12-Feb-08 7:56
Josh Smith12-Feb-08 7:56 
GeneralRe: Command performance problem Pin
Pete O'Hanlon12-Feb-08 11:24
mvePete O'Hanlon12-Feb-08 11:24 
GeneralRe: Command performance problem Pin
User 27100924-Feb-08 18:29
User 27100924-Feb-08 18:29 
GeneralRe: Command performance problem Pin
Super Lloyd24-Feb-08 18:58
Super Lloyd24-Feb-08 18:58 
GeneralRe: Command performance problem Pin
User 27100924-Feb-08 19:01
User 27100924-Feb-08 19:01 
GeneralFlickering text Pin
Mircea Grelus10-Feb-08 4:23
Mircea Grelus10-Feb-08 4:23 
GeneralRe: Flickering text Pin
User 27100910-Feb-08 8:10
User 27100910-Feb-08 8:10 
GeneralRe: Flickering text Pin
Mircea Grelus10-Feb-08 10:00
Mircea Grelus10-Feb-08 10:00 
GeneralRe: Flickering text Pin
User 27100910-Feb-08 10:05
User 27100910-Feb-08 10:05 
GeneralRe: Flickering text Pin
Josh Smith12-Feb-08 8:04
Josh Smith12-Feb-08 8:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.