Anoying focus stealing in 8.2

Questions about Wine on Linux
Locked
davewithheld
Newbie
Newbie
Posts: 1
Joined: Thu Mar 09, 2023 11:51 pm

Anoying focus stealing in 8.2

Post by davewithheld »

I recently upgraded my fedora system from 35 to 37, which "upgraded" wine from 7.12 to 8.2. I have a graphing program that redraws its main window (graph) periodically if the data source file changes. In wine 7.12 it would beep be PC speaker every time it refreshed; very annoying. I was able to "fix" it, however, by unloading the pcspkr kernel module. The new version (thankfully) no longer beeps. Instead, it raises the window, stealing the focus every time it updates. It even causes my KDE desktop to switch to the virtual desktop where the program is running! This is not just annoying, it is a show stopper, stealing the focus without warning.

This is an old Win32 MFC program I wrote many years ago and it works perfectly (WITHOUT stealing the focus) in Windows 10, as it has in literally every version of Windows since '95. How can I stop this behaviour? Should I report it as a bug?
Locked