slow msgbox

Started by Thomas Bock, October 10, 2018, 09:02:34 AM

Previous topic - Next topic

Thomas Bock

After moving several client machines to Win10 we see slow message boxes on all these clients. It turns out that all types of msgbox are drawn instantly as long as no title text is used. The delay is round about 1 second.

instant draw
msgbox "A"
msgbox "A","","?,YESNO",a$

slow draw
msgbox "A","A"
msgbox "A","A","?,YESNO",a$

Devon Austen

I just tested here with PxPlus 2018 (V15.00.0002) and all message boxes come up instantly. I can see no difference if there is a title or a default title.

I'm on Windows 10 Pro Version 1803.
Principal Software Engineer for PVX Plus Technologies LTD.

Thomas Bock

I'm on Win10 Pro 64 bit with PxPlus V14.
The delay is significant on all clients.

Devon Austen

My Windows is also 64-bit.

I tried PxPlus 2017 (V14) and I still do not see a delay.

Are you using WindX? If so what OS is the server running on?

I would suspect something to do with your setup as I am not seeing this issue here.
Principal Software Engineer for PVX Plus Technologies LTD.

Thomas Bock

I tried WindX and a local installation. Both behave in the same manner.

James Zukowski

I've seen slow objects on non-local clients. We have a couple of remote locations around the country that experience some delays with folders, etc. Those are typically about 1 second per additional WindX transaction.

The creation of a MSGBOX - depending on options - can be multiple transactions. The first is the creation of the window. The second may be using a 'CAPTION' to set the title.
James Zukowski
Sr. Developer - J&E

BRAND>SAFWAY
Brand Industrial Services

Devon Austen

Generally a MSGBOX call just results in a system call to Windows to display a message box. Unless you set your system up to use custom message boxes.

Is your 'MX' system parameter ON? If so are you using the default custom message box (*ext/system/msgbox.gui) or are you using a user-defined message box (*ext/msgbox.gui)?
Principal Software Engineer for PVX Plus Technologies LTD.

Thomas Bock

prm('MX') returns zero in our environment, so msgbox triggers the system component.
I started explorer and tried to delete a file. The confirmation dialog takes round about 1 second to appear here too.
Looks to be system issue.
Thank you all. Thread closed  :)