Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 23 FEB 2024 02:04:37AM Joshua Goddard wrote:

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


At 27 FEB 2024 06:52AM Carl Pates wrote:

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

Carl Pates


At 28 FEB 2024 02:41PM Carl Pates wrote:

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

Carl Pates

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/dd6fbcc418028d49a01f7e66d5f1e75f.txt
  • Last modified: 2025/05/29 20:25
  • by 127.0.0.1