[Bug 11667] New: Window contents not updated properly after being moved

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Feb 21 05:17:00 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=11667

           Summary: Window contents not updated properly after being moved
           Product: Wine
           Version: 0.9.55.
          Platform: PC-x86-64
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: directx-ddraw
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: markk at clara.co.uk


Hi,

I believe this bug relates to DirectDraw. (Apologies for my lack of detailed
knowledge about Windows.)

In some cases, moving a window whose contents are updated by DirectX calls
causes trash/garbage to appear when the window is drawn in its new position,

My theory is that WINE remembers the window contents at the moment the user
begins dragging the title bar, and simply copies that to the new window
position. If the program continues to update the DirectX buffer while the user
is moving the window frame, WINE puts the old/stale buffer contents in the
moved window. This happens in both normal and virtual desktop modes.

For applications like video players, this effect may not be very noticeable if
the player redraws the whole window every frame. But for applications which
don't do that, the effect can be quite ugly.

One program I have found which shows this problem is WinUAE. To reproduce:
 - Download and install WinUAE from http://www.winuae.net/
 - Download an example disk image for testing, e.g.
     ftp://ftp.coresystems.de/pub/uae/rsi1.adf.gz
 - Start WinUAE and select the rsi1.adf.gz file for emulated drive DF0:, and
start the emulation.
 - Once the demo graphics appear, repeatedly move the main WinUAE window and
notice the problem.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list