Jump to content

IDE very slow on forms with 20-30 UniDBText component in Delphi 10.3 - 11


Recommended Posts

Posted

Hi, 
I have noted that  IDE very slow with 20-30 UniDBText component in Delphi 10.3 - 11;
If i use only UniDbedit works well, but if I use UniDbText the form is very very slow ad design time when move components. It refresh continuosly.
I have forms that display 40-50 DBtexts (invoices, etc..)
Anyone else having the same problem?
Thanks

Posted
6 minutes ago, Stemon63 said:

Hi, 
I have noted that  IDE very slow with 20-30 UniDBText component in Delphi 10.3 - 11;
If i use only UniDbedit works well, but if I use UniDbText the form is very very slow ad design time when move components. It refresh continuosly.
I have forms that display 40-50 DBtexts (invoices, etc..)
Anyone else having the same problem?
Thanks

Hi, I have the same problem but with dynamic component creation. I have 100 different components in one form, Grids, Edit (not DBEdit), Panels, Label, GroupBoxes. Scrollboxes.

The time to create all the components is about 1-1.5 seconds, but the visualization of the form itself takes 3-5 seconds.

I achieve this speed with the use of Ext.SuspendLayout and ResumeLayout (true)

  • Like 1
  • 11 months later...
Posted

I also had issues with slowness, so in December I upgraded the hardware to a Lenovo Thinkpad P15 Gen2 workstation laptop,
with 48Gb RAM and installed the very fast Kingston KC3000 1TB SSD - it has 7Gbps write speed.

But still the IDE (10.3.3) was not doing well, with lots of refreshings after switching between the browser and the IDE.

I wondered if I had to downgrade to Win10, but I turned off animations and other stuff that was sucking power from the system,
and then I did the right thing: I quit using Opera, Chrome, Edge or Firefox, and switched to using Vivaldi browser.

Now everything works, no issues whatsoever, no refreshings for seconds (could be up to 4-5 seconds of "serial refreshings" each time I entered the IDE if I had lots of tabs open in Opera, like e.g. 100 tabs).
When I now switch between the browser and the IDE using Alt-Tab, it's all rock solid - not a glitch in the form, only a couple refreshings of the top IDE status line.

 

When I click on design objects, there are some refreshings (maybe 2), but they seem to increase (3 or 4) if there is a pagecontrol on the form.

Of course there ideally should only be a single refreshing when activating another design-time object, but if they are quickly done I can live with it.

Vivaldi is based on Chrome, that's right, but now things work fine, and that's all I need. 

Another thing I like with the Lenovo P15, is that it is completely silent no matter how hard I push it. No fan noise. 

Previously I used fast gaming laptops, but for the future I will only use Lenovo workstation laptops. P16 will be the next.

  • Like 1
Posted

Well, now I am a bit wiser.

It turns out that CPU turbo was disabled on my laptop, probably due to it being run on a smaller power brick than it needs.
It bought it used from the US and it came with a 135W adapter, but it needs a 170W adapter which i bought new a while ago.

But once the system turned CPU turbo off due to power limitations, it apparently does not turn in back on again if/when there is enough power available.

So I had to run ThrottleStop to figure this out, and when I enabled CPU turbo it was a different machine. I also turned on Speedshift EPP.

I had to research this closer, as things - after a while - were not going as smooth as I indicated in the previous post, and the refreshing nightbare came back.

But now it all works perfectly. Oh, the good ol' days when PCs were a bit simpler to set up and run - those were the days, my friend, those were the days...

They will never come back :)

https://www.ultrabookreview.com/31385-the-throttlestop-guide/

 

disable turbo.png

  • 1 year later...
  • Administrators
Posted
6 minutes ago, Farshad Mohajeri said:

Hi,

Probably it is a Delphi related issue. In design time IDE uniGUI components are just a descendants of VCL controls.

BTW, if you send us a sample DFM file which shows this issue we will analyze it.

Posted

I have the same problem at design time in Delphi 2007. The strange thing is that the issue occurs on my desktop, but not on my laptop.

I tried formatting the system, reinstalling Windows, Delphi 2007, and UniGUI again (latest version 1610), and problem still happening, and the problem also happens with all previous versions. Only works on my laptop, I tried to install on another desktop too.

My desktop has an Xeon Gold 6230, while my laptop has an AMD Ryzen 7 5700U. On my desktop, opening a form takes much more than 30 seconds, while on the laptop it opens instantly.

@Farshad Mohajeri What should I check to see what is making the form freezing? (One cpu stay 100% for more than 30 seconds for each change on form).

Could there be something wrong in the DFM file causing this?

I tried everything to discover what are making delphi freeze.

Thank you if you can help us. I will send a video on next.

  • 2 weeks later...
Posted

Hello,

Just idea, can you try, remove all dataset & Datasource to on new datamodule? another test, remove dbedit's, dbtext's etc. datasource and datafield property

  • Administrators
Posted
On 5/3/2026 at 5:42 AM, Masteritec said:

Hi @Farshad Mohajeri, any good news for it?

Hi,

I have tested your form and yes, it is slow to load and navigate. It is because uniGUI components are hybrid controls. They encapsulate a VCL control for visual purpose. I willl try to implement a solution. Maybe in next build, but definitely in the other build.

Thanks 

 

  • Thanks 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...