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.
https://bugs.winehq.org/show_bug.cgi?id=54885
xiaotong 346177624@qq.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |346177624@qq.com
--- Comment #1 from xiaotong 346177624@qq.com --- I also encountered the same problem, how can I solve it.
https://bugs.winehq.org/show_bug.cgi?id=54885
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #2 from joaopa jeremielapuree@yahoo.fr --- I conform the bug in wine-8.6. Demo archived at https://archive.org/details/set-parent-demo
Can an administrator put the link at the URL place?
https://bugs.winehq.org/show_bug.cgi?id=54885
--- Comment #3 from Rafał Mużyło galtgendo@o2.pl --- 0. source of the demo should be provided too (as it seems to be your program)
Yet, there's a bigger problem.
With wine 8.13 it seems a couple significant regressions have happened.
First one: initially the program window is completely black, though you can still blindly hit whatever button is there to start the demo proper.
Second, more annoying one: I don't quite understand what is this demo supposed to do, but once it properly starts after the blind click you can't alt-tab out of it and while your cursor isn't captured your clicks seem to be; also you can't switch into another virtual desktop (the wm ones, not wine's). Only Alt-Fx switching works (so you can login from a different console and kill the program). This is with mr3405 and mr3411 applied.
https://bugs.winehq.org/show_bug.cgi?id=54885
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://archive.org/details | |/set-parent-demo