Font and Color Dialogs intermittently take an exceptionally long time to display on certain user machines. Any idea why? I cannot reproduce locally.
Posted on 2004-08-31
I have a charting application that has many users. Why viewing a chart, they can right-click and choose the preferences option to launch another form that is shown modally to modify the parameters of the chart. On this new form there are many buttons for modifying the colors and fonts of the chart. When they click on one of these buttons, I simply show a Color(or Font) Dialog with simple code:
ColorDialog dlg = new ColorDialog();
dlg.Color = (Some Default Color);
Color result = dlg.Color;
A user called this morning and said it was taking between 6-10 minutes for the dialogs to reveal themselves. The moment he clicked the button to launch the above code he was no longer able to touch any of the charts, receiving a beep in complaint, as though the Color dialog was visible (shown modally). He simply had to wait it out and respond to the dialog. He also said he received similar delays with the Font dialog. Again, it is only 'some' users and only 'some' times. This user does not always experience this issue.
Any ideas would be helpful, I dont see anything I can change.
The same user has informed me that even MessageBox dialogs are taking extended amounts of time to display.