https://bugs.winehq.org/show_bug.cgi?id=52974
Bug ID: 52974 Summary: MuLab 9: subwindow loses focus instantly Product: Wine Version: 7.7 Hardware: x86-64 URL: https://www.mutools.com/mulab/app/mulab-app-9-0-35-win 64.zip OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: oldcastlehq@protonmail.com Distribution: ArchLinux
When you open ML9 and right-click on any track head, and then click on "Choose Target Module", the subwindow loses focus instantly. It likes that the new window that should pop up stays behind the main window.
No idea why the specific client causes so much trouble and how much this is application specific (ie. whether the focus handling is supposed to be completely handled by wine or whether it forwards some windows API), but it does seem that the window reacts to changes in the active window and my guess is that this turns into a race between the main window (claiming focus and becoming active when the popup closes) and the target module window when the context "popup" closes.
More information about this bug can be found at https://bbs.archlinux.org/viewtopic.php?id=276107