[Bug 29183] New: Heavy corruption when rendering edit control with WM_PRINTCLIENT and possibly invalid HDC

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Nov 26 15:29:51 CST 2011


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

             Bug #: 29183
           Summary: Heavy corruption when rendering edit control with
                    WM_PRINTCLIENT and possibly invalid HDC
           Product: Wine
           Version: 1.3.33
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: user32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: toni.spets at iki.fi
    Classification: Unclassified


Created attachment 37649
  --> http://bugs.winehq.org/attachment.cgi?id=37649
Hack for the problem

This is the most severe bug with ResEdit currently. For some reason
WM_PRINTCLIENT might get a wParam with HDC that causes massive corruption when
used. Forcing using Begin/EndPaint avoid the problem.

On Windows it seems to work just fine.

Patch with hack attached and another attachment with the corruption shown. The
window height problem with the dialog in the center is related to another bug.
Also attached a screenshot with all my hacks applied.

-- 
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