http://bugs.winehq.org/show_bug.cgi?id=28379
Summary: Internet Explorer 4.0 highlights selected text incorrectly Product: Wine Version: 1.3.28 Platform: x86-64 URL: http://www.oldversion.com/common/uploaded_files/softwa res/msie401sp2.exe OS/Version: Linux Status: UNCONFIRMED Severity: trivial Priority: P2 Component: gdi32 AssignedTo: wine-bugs@winehq.org ReportedBy: RandomAccountName@mail.com CC: david.hedberg@gmail.com Regression SHA1: 81bbd17c406e37ea23e8f86f95d307c0c45e2bc7
Created an attachment (id=36389) --> (http://bugs.winehq.org/attachment.cgi?id=36389) Terminal output
When selecting some text in IE4, it usually gets highlighted wrong - it appears that the text changes color as expected, but the background does not. It's very noticeable on the WineHQ homepage, where much of the text becomes invisible when selected, while it should be white on a blue background. This wasn't an issue back in 1.3.6, so I did a regression test:
81bbd17c406e37ea23e8f86f95d307c0c45e2bc7 is the first bad commit commit 81bbd17c406e37ea23e8f86f95d307c0c45e2bc7 Author: David Hedberg dhedberg@codeweavers.com Date: Sun Jan 30 20:47:55 2011 +0800
gdi32: Stay within the clipping area when painting text background.
:040000 040000 f50390b8ae6002fa95ce4cc6fe598b86db9c3f22 d0fbba0a31d64cee11b668c809871706be50f376 M dlls
Reverting the patch fixed the problem. I used these steps to install and test:
1. Change the reported Windows version to NT4 2. Add native,bultin overrides for the following: advpack, iexplore.exe, jscript, mshtml, shdocvw 3. Remove the Z: drive (not required, but prevents the installer from scanning the entire file system for Windows browsers to install a plugin to) 4. Run 'wine iexplore -unregserver' 5. Remove some files (replace $HOME/.wine if needed): rm -f $HOME/.wine/drive_c/{Program\ Files/Internet\ Explorer/iexplore.exe,windows/system32/{advpack.dll,inetcpl.cpl,mshtml.dll,schannel.dll,shdocvw.dll}} 6. Copy the self-extractor to Wine's C: drive and run it to extract the setup files 7. Run the IE4SETUP.EXE file from the directory the extractor created 8. Choose no when asked to locate WINDOWS.HLP, and ignore some Java VM installation errors after the reboot 9. Run IE4 and try selecting some text in the news section of the WineHQ homepage: wine 'C:/Program Files/Internet Explorer/iexplore.exe' http://www.winehq.org