https://bugs.winehq.org/show_bug.cgi?id=57349
--- Comment #1 from Christoph Bartoschek christoph.bartoschek@gmail.com --- I have created a small testcase program that reproduces the problem and attach it to the bug. This is how I compile the program:
tar -xzf testcase-layered-window.tgz cd testcase-layered-window x86_64-w64-mingw32-windres main.rc -o manifest.o x86_64-w64-mingw32-c++ -static -mwindows main.cc manifest.o -lgdi32 -o testcase-layered.exe wine testcase-layered.exe
When run the program shows a window with a green box. On top of the green box there should be a red layered window with alpha=128. However the layer is not positioned on top of its parent window but at the absolute top. I also attach an image of how this looks like under wine and how it looks on Windows 11 (running under VirtualBox)