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@winehq.org ReportedBy: lightning_uk@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.
http://bugs.winehq.org/show_bug.cgi?id=27470
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2011-06-13 15:20:57 CDT --- Duplicate.
*** This bug has been marked as a duplicate of bug 15118 ***
http://bugs.winehq.org/show_bug.cgi?id=27470
--- Comment #2 from LIGHTNING UK! lightning_uk@imgburn.com 2011-06-13 15:31:44 CDT --- According to the changelogs, you (Alexandre Julliard) implemented it in 1.1.5!
I see no stub: or fixme: messages in the terminal output. :-/
If it's only partially implemented, shouldn't it fail (on unsupported stuff) rather than succeed and just not work/do anything?
http://bugs.winehq.org/show_bug.cgi?id=27470
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2011-06-13 15:41:03 CDT --- It's emulated as best as we can given the current capabilities, but things like per-pixel alpha or color keying won't work right. A FIXME would have to depend on the bitmap contents, so it's not really worth the trouble.
http://bugs.winehq.org/show_bug.cgi?id=27470
--- Comment #4 from LIGHTNING UK! lightning_uk@imgburn.com 2011-06-13 15:59:38 CDT --- Ok, fair enough.
I don't really want to but I guess I'll have to implement a workaround for when it's running under Wine.
http://bugs.winehq.org/show_bug.cgi?id=27470
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Austin English austinenglish@gmail.com 2011-06-16 13:21:06 CDT --- Closing.