[Bug 27470] New: UpdateLayeredWindow API returns 'success' but doesn't work
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Jun 13 14:32:27 CDT 2011
http://bugs.winehq.org/show_bug.cgi?id=27470
Summary: UpdateLayeredWindow API returns 'success' but doesn't
work
Product: Wine
Version: 1.3.22
Platform: x86
URL: http://www.imgburn.com/
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: user32
AssignedTo: wine-bugs at winehq.org
ReportedBy: lightning_uk at imgburn.com
Created an attachment (id=35124)
--> (http://bugs.winehq.org/attachment.cgi?id=35124)
3 screenshots showing what the splash screen should look/looks like
I make use of the 'UpdateLayeredWindow' to create/display a fancy looking
transparent splash screen whilst my program (ImgBurn) loads everything it needs
to.
I noticed that 'fancy' splash screen isn't shown under Wine (checked against
v1.3.22 in Ubuntu 11.04). Instead you just see bits of my fallback / legacy
splash screen for old Windows OS (95/98/Me etc) - these are not normally
visible.
Having stepped through all my code, it would appear Wine lies about my call to
'UpdateLayeredWindow' being successful. (If it's not supported/successful, the
program knows to revert to the old splash screen)
I noticed 'IsoBuster' shows a similar layered style splash screen when it loads
in Windows so I tried that under Wine/Ubuntu too - same issue. All you get in
that app is a blank grey box on the screen though.
In order to make it clear that the splash screen isn't functioning correctly,
I've added another set of 'Wine' related images/text to it. These are now the
only ones set to 'visible=true' when 'UpdateLayeredWindow' is supposed to have
worked - but of course they wouldn't normally be visible because the layered
image would be.
I've attached 3 screenshot images.
1. LayeredSplashScreen.png - showing what a layered splash screen looks like -
captured in Windows Vista.
2. StandardSplashScreen.png - showing what a standard/fallback splash screen
looks like (displayed when 'UpdateLayeredWindow' isn't supported/successful) -
captured in Windows Vista having forced the layered one to fail.
3. WineSplashScreen.png - showing what a (supposedly successful) layered splash
screen looks like - captured in Ubuntu 11.04 with Wine 1.3.22.
It's pretty clear that 1 & 3 are nothing alike :)
The way I look at it, either 'UpdateLayeredWindow' needs fixing so it works how
Windows does or it needs to fail properly so the program can deal with the
failure.
--
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