http://bugs.winehq.org/show_bug.cgi?id=12493
Summary: CreateCompatibleDC creates a compatible DC from everything Product: Wine Version: CVS/GIT Platform: Other OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: gdi32 AssignedTo: wine-bugs@winehq.org ReportedBy: mail@colinfinck.de
Under Wine, stuff like CreateCompatibleDC((HDC)123456) returns a valid DC handle while this doesn't work under Windows.
This leads to a problem, when applications start to rely on this behaviour. One app, which already does this, is your Wine Wordpad. It only works properly under Wine, but not under Windows. It hangs there if you try to resize the window.
So please fix this incorrect behaviour and also all apps affected by it. I only know of Wine Wordpad, but maybe there are even more.
http://bugs.winehq.org/show_bug.cgi?id=12493
--- Comment #1 from James Hawkins truiken@gmail.com 2008-04-10 17:04:00 --- Please add a test to the wine test suite.
http://bugs.winehq.org/show_bug.cgi?id=12493
--- Comment #2 from Colin Finck mail@colinfinck.de 2008-04-11 08:05:04 --- (In reply to comment #1)
Please add a test to the wine test suite.
Done: http://www.winehq.org/pipermail/wine-patches/2008-April/053200.html
http://bugs.winehq.org/show_bug.cgi?id=12493
--- Comment #3 from Colin Finck mail@colinfinck.de 2008-04-11 08:24:42 --- Patch updated on request: http://www.winehq.org/pipermail/wine-patches/2008-April/053202.html
http://bugs.winehq.org/show_bug.cgi?id=12493
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #4 from Dmitry Timoshkov dmitry@codeweavers.com 2008-04-14 22:04:46 --- Alexandre has commited both the test and a fix.
http://bugs.winehq.org/show_bug.cgi?id=12493
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2008-04-18 11:04:46 --- Closing bugs reported fixed in 0.9.60.
http://bugs.winehq.org/show_bug.cgi?id=12493
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified