https://bugs.winehq.org/show_bug.cgi?id=54885
Bug ID: 54885 Summary: The child window flickers after using SetParent API to set parent-child window between windows from different processes. Product: Wine Version: 8.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: bcjon07@gmail.com Distribution: ---
After using the SetParent API to set parent-child window relationship between windows from different processes, the child window flickers heavily. This issue seriously affects the user experience of applications that has any different processes parent-child window. For convenience, I have created a simple demo program that can reproduce this issue and attached the download link.
Steps to Reproduce: 1.Download the demo program that can reproduce this issue and open it (SetParentDemo.exe inside) with Wine tool. 2.Click the first button in the program window (the program may crash occasionally, but it is not the focus of this bug report, just retry the operation). 3.Drag child window or switch to activate parent child windows, or move mouse to hover buttons, observe the display of the child window.
Download link of the demo program: https://drive.google.com/file/d/1MCrnb1N6cLUzVoX_vO4tFO4qlS_qhAwi/view?usp=s...
Other clues: After testing, this issue will occur in WPF form programs packaged using. NET 6 standalone mode, but it does not occur in programs packaged under the .NET Framework project (will run on wine mono). Unfortunately, many applications released using Dotnet standalone mode will only run on their built-in NET runtime and not on Wine Mono.
System architecture: x86_64 Ubuntu 20.04 wine 8.6
I appreciate your attention to this matter. If you need further cooperation or assistance, please feel free to contact me.