https://bugs.winehq.org/show_bug.cgi?id=56118
Bug ID: 56118 Summary: Police Quest: SWAT 2 - missing UI elements Product: Wine Version: 9.0-rc2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: matheus.venturini@acad.ufsm.br Distribution: ---
Created attachment 75784 --> https://bugs.winehq.org/attachment.cgi?id=75784 SWAT 2 on Wine 9.0 RC2 (notice the black bar below main window)
SWAT 2 creates a big "parent" window and many "children" windows inside it, where components of the game's GUI are rendered. Because of an incomplete implementation of the SHAppBarMessage function (from the shellapi.h header) certain child windows can appear completely black.
This can be seen in a 2008 AppDB report for the game: https://appdb.winehq.org/objectManager.php?sClass=version&iId=15352&... I experienced the exact same bug as reported here (the action and gear panels become black and you can't actually play the game), but it only happened the first time I ran the game and I can't get it to happen again. On the other hand, the bottom panel, where dialogue and tips are displayed, does not show up at all for me (see attached picture).
https://bugs.winehq.org/show_bug.cgi?id=56118
--- Comment #1 from Matheus matheus.venturini@acad.ufsm.br --- Created attachment 75785 --> https://bugs.winehq.org/attachment.cgi?id=75785 How the game should look like, for reference
https://bugs.winehq.org/show_bug.cgi?id=56118
--- Comment #2 from Matheus matheus.venturini@acad.ufsm.br --- Created attachment 75786 --> https://bugs.winehq.org/attachment.cgi?id=75786 Output generated by Wine 9.0 RC2 on a fresh prefix
https://bugs.winehq.org/show_bug.cgi?id=56118
Matheus matheus.venturini@acad.ufsm.br changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://archive.org/details | |/PoliceQuestSwat2Demo
https://bugs.winehq.org/show_bug.cgi?id=56118
--- Comment #3 from Matheus matheus.venturini@acad.ufsm.br --- How to reproduce:
1. Download the demo from the link in the URL section 2. Install the demo, any error warnings can be ignored 3. Go to the installation directory and run SWAT.EXE 4. Click "new solo game", arrow pointing right ( > ), "play scenario", "add ->", "OK"
https://bugs.winehq.org/show_bug.cgi?id=56118
--- Comment #4 from Rafał Mużyło galtgendo@o2.pl --- Well, yes, but also no.
That is SHAppBarMessage is unlikely to matter here.
It seems to be some redraw order problem. Clicking in that black area sometimes makes the content of that subwindow to be shown, but not permanently so.
https://bugs.winehq.org/show_bug.cgi?id=56118
--- Comment #5 from Matheus matheus.venturini@acad.ufsm.br --- Oh, interesting. I did find it strange that somehow the shell API could be causing GUI bugs...
Indeed, trying to click on UI elements makes the pop up for a split second and then go away, but you can't interact with any buttons in that black area. Fortunately, it's only for dialogue and tips, so the game can be played just fine (although, I'm forced to look up some gameplay on Youtube so I can get my bearings...)
Thank you for the interest in this bug, and have a happy new year!