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@winehq.org ReportedBy: toni.spets@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.
http://bugs.winehq.org/show_bug.cgi?id=29183
--- Comment #1 from Toni Spets toni.spets@iki.fi 2011-11-26 15:31:10 CST --- Created attachment 37650 --> http://bugs.winehq.org/attachment.cgi?id=37650 Corrupted editor with demo rendering and actual exe side by side.
http://bugs.winehq.org/show_bug.cgi?id=29183
--- Comment #2 from Toni Spets toni.spets@iki.fi 2011-11-26 15:31:48 CST --- Created attachment 37651 --> http://bugs.winehq.org/attachment.cgi?id=37651 Hacks applied, correct rendering
http://bugs.winehq.org/show_bug.cgi?id=29183
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, patch URL| |http://www.resedit.net/
https://bugs.winehq.org/show_bug.cgi?id=29183
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Abandoned?
--- Comment #3 from Ken Sharp imwellcushtymelike@gmail.com --- Is this still an issue in Wine 1.7.45 or later?
https://bugs.winehq.org/show_bug.cgi?id=29183
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com, | |winetest@luukku.com
https://bugs.winehq.org/show_bug.cgi?id=29183
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED CC| |leslie_alistair@hotmail.com
--- Comment #4 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- This appears to be fixed. Tested with wine 3.21.
If this isn't the case, please reopen.
https://bugs.winehq.org/show_bug.cgi?id=29183
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.0-rc1.