Hi there,
I'm currently in the process of tuning my migrated OI9 Application in OI10 and I have noticed that there is a lot of lag when opening and using forms in OI10.
In particular:
- Opening forms is slightly slower in OI10 (i.e. from clicking to open the form to the form being usable can be over 2 seconds slower).
- Forms opened as MDI children are extremely laggy when moved around the MDI frame. This is exacerbated when complex forms (forms with lots of controls) or multiple forms are opened. This issue is eliminated if the form is opened as a standalone window (i.e. not an MDI child), but this is unideal.
I will note that I am using OI10.2.0 on UD5.2. Also, I noticed that read times are improved compared to the OI9 counterpart.
I have created some screen recordings of this happening if that helps.
Josh
Hi Josh,
»Opening forms is slightly slower in OI10 (i.e. from clicking to open the form to the form being usable can be over 2 seconds slower).«
If you run a profile log - does it show anything significant that is eating up the time? Is this all forms, or MDI children? If it's not all forms - do they have anything common that you can see?
Forms opened as MDI children are extremely laggy when moved around the MDI frame. This is exacerbated when complex forms (forms with lots of controls) or multiple forms are opened. This issue is eliminated if the form is opened as a standalone window (i.e. not an MDI child), but this is unideal.«The Windows DWM handles forms running on the desktop which is why they don't suffer this problem - however, child windows can't use the same acceleration and rendering, so if there's a lot of repainting then it gets noticable, and MS abandoned MDI many years ago so there's nothing in the system to help as such. I'll take a look and see if there's any way this can be improved.
Regards
Carl
Hi Josh,
Quick update for you WRT to the moving - I've done some investigating and tracked down and eliminated some over-zealous invaldating that was causing too much painting - I've tweaked a couple of other things too that should help make things smoother.
This will be rolled out in v10.2.2, hopefully in beta Real Soon Now.
Regards