[vwnc] [vwnc 7.5] [win xp] Rendering when expanding a window takes a while after program has been idle for sometime?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] [vwnc 7.5] [win xp] Rendering when expanding a window takes a while after program has been idle for sometime?

Stew MacLean

Hi,

 

I find that if I collapse all the windows in my image and leave it for a while (an hour or so…), when I expand it, the window displays with the background color but takes sometime to render the contents. This applies to my application and browser windows.

 

Does anyone have an explanation/fix for this? (I have the double buffering fix installed).

 

I also note that after restarting the image, my custom window icon is not displayed when listing the windows via the task bar for the first time. It displays subsequent times. The windows are rendered promptly upon start up.

 

Thanks,

 

Stewart


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] [vwnc 7.5] [win xp] Rendering when expanding a window takes a while after program has been idle for sometime?

Joachim Geidel
Hi Stewart,

IIRC, Windows XP flushes your application from main memory when the last window of the application is iconified. When you expand a window, it has to read everything back from the page file. This happens even when there is still plenty of free RAM. I recall an MSDN knowledge base article explaining this "feature", but can't locate it nay more. You could check if this is the reason for the delay by switching the page file off (or setting it to its minimum size), and test if the delays are still there. Or just open a task manager, and see if it shows CPU activity during the delay. If the CPU is idle, the system is waiting for data from the page file. The larger your image, the larger the delays. If the CPU is busy, the delay is probably not related to disk access, and you'll have to profile what VisualWorks is doing.

HTH,
Joachim

Stewart MacLean schrieb:

Hi,

 

 

I find that if I collapse all the windows in my image and leave it for a while (an hour or so?), when I expand it, the window displays with the background color but takes sometime to render the contents. This applies to my application and browser windows.

 

 

Does anyone have an explanation/fix for this? (I have the double buffering fix installed).

 

 

I also note that after restarting the image, my custom window icon is not displayed when listing the windows via the task bar for the first time. It displays subsequent times. The windows are rendered promptly upon start up.

 

 

 

Thanks,

 

 

Stewart

 


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc