<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">did a bit more testing.<br><br>The bug can be easily reproduced this way.<br><br>Windows XP guest on Windows host, seamless window, kill Explorer.exe in vm, so there is no taskbar, then run IE or any other apps from vm, Make sure there is only one visible window inside vm in seamless mode.<br><br>now minimize the window, and you will see background not updated.<br><br>This is to do with if there is no visible regions, host display somehow does not get displayed.<br><br>The call in [VBoxC.dll]Display::handleSetVisibleRegion() in displayimple.cpp, variable cRectVisibleRegion == 0, and thus not causing UIMachineViewSeamless.cpp to handle UISetRegionEvent.<br><br>This should be easy to fix. Basically, need to clear display even if there is no visible regions.<br><br>--- On <b>Fri, 7/16/10, Huihong Luo <i><huisinro@yahoo.com></i></b> wrote:<br><blockquote
 style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Huihong Luo <huisinro@yahoo.com><br>Subject: [vbox-dev] seamless display update question<br>To: vbox-dev@virtualbox.org<br>Date: Friday, July 16, 2010, 12:21 PM<br><br><div id="yiv1240672336"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top"><div>If explorer.exe windows (taskbar) are made invisible in seamless mode, when another application window is minimized, the desktop is not updated. i.e., xp background is still shown.</div>
<div> </div>
<div>I need to understand what happens when a window is minized inside xp guest in seamless mode. As I understand this is the sequences:</div>
<div> </div>
<div>(1) vboxhook.dll will enumerate all visible windows to build a list of visible rects</div>
<div> </div>
<div>(2)  visible areas will send to host via <font size="2">requst VMMDevReq_VideoSetVisibleRegion</font></div><font size="2"></font>
<div> </div>
<div>(3) host refresh the displays</div>
<div> </div>
<div>I did some debuging, after a window is minized, nagative numbers appears for visible areas, which might be the cause?</div>
<div> </div>
<div>Any ideas why display is not updated correctly? I traced the calls, <font size="2"></font></div>
<div><font size="2">VBoxSeamlessCheckWindows() in VBoxTray.cpp gets called when a window is minized, and <font size="2"></font></font></div>
<div><font size="2"><font size="2">VBoxDispIfEscape() is also invoked to send reques to host. but somehow, not working right.</font></font></div>
<div><font size="2"><font size="2"> </font></font></div>
<div><font size="2"><font size="2">Moving a window has no issues.</font></font></div>
<div><font size="2"><font size="2"> </font></font></div>
<div><font size="2"><font size="2">Thanks,</font></font></div>
<div><font size="2"><font size="2"> </font></font></div><font size="2"><font size="2"></font></font>
<div> </div>
<div> </div></td></tr></tbody></table></div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>vbox-dev mailing list<br><a ymailto="mailto:vbox-dev@virtualbox.org" href="/mc/compose?to=vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</a><br><a href="http://vbox.innotek.de/mailman/listinfo/vbox-dev" target="_blank">http://vbox.innotek.de/mailman/listinfo/vbox-dev</a><br></div></blockquote></td></tr></table>