http://bugs.winehq.org/show_bug.cgi?id=29780
Bug #: 29780 Summary: XPS Viewer EP shows garbage in the toolbar background Product: Wine Version: 1.4-rc2 Platform: x86-64 URL: http://download.microsoft.com/download/2/5/2/2526f55d- 32bc-410f-be18-164ba67ae07d/XPSEP XP and Server 2003 32 bit.msi OS/Version: Linux Status: UNCONFIRMED Severity: trivial Priority: P2 Component: comctl32 AssignedTo: wine-bugs@winehq.org ReportedBy: RandomAccountName@mail.com CC: bunglehead@gmail.com Classification: Unclassified Regression SHA1: 1c1b1c0073c3dea34ff4096d749a459accf5e337
Created attachment 38676 --> http://bugs.winehq.org/attachment.cgi?id=38676 Terminal output
The background of the toolbar in XPS Viewer EP is not displayed properly, showing garbage (previous screen content). This worked in 1.4-rc1, and regression testing indicated:
1c1b1c0073c3dea34ff4096d749a459accf5e337 is the first bad commit commit 1c1b1c0073c3dea34ff4096d749a459accf5e337 Author: Nikolay Sivov nsivov@codeweavers.com Date: Wed Feb 1 00:07:00 2012 +0300
comctl32: More tests for Toolbar window style handling.
:040000 040000 dd921cd22cea799bb21627f6e80aba024d087098 ee93a6dccb2bc9c894dc6330dbae8fc4650b2b82 M dlls
Reverting the patch fixed it.
To reproduce:
1. In system32, make a copy of acledit.dll named xpssvcs.dll 2. Install (occasionally crashes - retry if needed) 3. wine xpsrchvw
http://bugs.winehq.org/show_bug.cgi?id=29780
A Wine user RandomAccountName@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression URL|http://download.microsoft.c |http://download.microsoft.c |om/download/2/5/2/2526f55d- |om/download/2/5/2/2526f55d- |32bc-410f-be18-164ba67ae07d |32bc-410f-be18-164ba67ae07d |/XPSEP XP and Server 2003 |/XPSEP%20XP%20and%20Server% |32 bit.msi |202003%2032%20bit.msi
http://bugs.winehq.org/show_bug.cgi?id=29780
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com 2012-02-03 04:44:36 CST --- I can confirm that, it happens that styles bits differ again, and it's all about TBSTYLE_TRANSPARENT as far as I can tell - CREATESTRUCT doesn't have it while window style has it set.
http://bugs.winehq.org/show_bug.cgi?id=29780
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com 2012-02-09 00:50:06 CST --- Actually this is not a regression in Toolbar itself, but a problem with Rebar control that hosts it - band rectangle stays empty so WM_ERASEBKGND forwarded to Rebar by transparent Toolbar fails to fill properly.
http://bugs.winehq.org/show_bug.cgi?id=29780
--- Comment #3 from Austin English austinenglish@gmail.com 2013-08-07 21:02:35 CDT --- In 1.7.0, it's no longer garbage, instead it's all black. That happened somewhere between 1.4 and 1.5.20.
@Nikolay, I'll leave it up to you if you want a new bug.
https://bugs.winehq.org/show_bug.cgi?id=29780
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #4 from winetest@luukku.com --- All black wine 2.0rc4 and staging 2.0rc3.
https://bugs.winehq.org/show_bug.cgi?id=29780
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #5 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur in current wine(3.21)?
https://bugs.winehq.org/show_bug.cgi?id=29780
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- Official download is no longer available, and what I found elsewhere either does not install correctly, or does not start at all. Something probably regressed further and there is no easy way to test original issue now.
https://bugs.winehq.org/show_bug.cgi?id=29780
A Wine user awineuser@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://download.microsoft.c |https://web.archive.org/web |om/download/2/5/2/2526f55d- |/20120525055657/http://down |32bc-410f-be18-164ba67ae07d |load.microsoft.com/download |/XPSEP%20XP%20and%20Server% |/2/5/2/2526f55d-32bc-410f-b |202003%2032%20bit.msi |e18-164ba67ae07d/XPSEP%20XP | |%20and%20Server%202003%2032 | |%20bit.msi
--- Comment #7 from A Wine user awineuser@mail.com --- Archive.org link added. This download matches the checksum of my local copy. Sha256sum: 630c86a202c40cbcd430701977d4f1fefa6151624ef9a4870040dff45e547dea
Creating a fake xpssvcs.dll manually is no longer necessary, but winver must be changed to Windows XP or this will refuse to install.
With that done, I was able to install and run it. The toolbar looks as expected on start, but the background becomes black after minimizing and restoring the application window. At this point, I don't recall whether that happened before the original regression or not, and compiling 1.4-rc1 on a current OS could be complicated.