http://bugs.winehq.org/show_bug.cgi?id=27217
Summary: WM_ACTIVATEAPP message not sent when running in a virtual desktop Product: Wine Version: 1.2.2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: silas-wine@flatline.org.uk
When running a WINE program in a virtual desktop (set to virtual desktop on winecfg), and if the WINE program is the only program running in the virtual desktop, the WM_ACTIVATEAPP event is not sent to the program when the virtual desktop window is focused.
It appears that Wenlin 3 relies on a WM_ACTIVATEAPP event to tell it when its internal clipboard might be out of date. If it doesn't get the WM_ACTIVATEAPP event, it will not refresh its clipboard to the OS clipboard, because it "thinks" that the user has never switched out of it and therefore cannot possibly have changed the clipboard contents in another app.
I don't know how many other programs have similar behaviour. Therefore I think WINE should send WM_ACTIVATEAPP when the virtual desktop window is focused.
It's OK when not running on a virtual desktop. However, in Wenlin's case you may want the virtual desktop if you are using a window manager such as OpenBox, which sometimes seems to discard keystroke events if they arrive very shortly after Wenlin's "conversion bar" window has closed. And you may want to use OpenBox if you're on Ubuntu 11.04, as it seems more stable than the default Metacity/Mutter window manager which can crash (especially if you use Skype, but I haven't been able to isolate it well enough to file a Metacity bug).