http://bugs.winehq.org/show_bug.cgi?id=13420
--- Comment #18 from Flob Flobber flobber@mailinator.com 2008-05-27 17:23:43 --- Indeed, the vnc bug looks similar.
But... here wine inside Xvnc (v6.8.2) works fine.
# wine notepad press any key in notepad - hang (btw, not a CPU hog hang - system is 100% idle).
but
# Xvnc :1 & # vncviewer :1 & # DISPLAY=:1 wine notepad
works. The only noticable effect is that terminating notepad takes exceptionally long. After 3-4 seconds this message appears:
| fixme:event:wait_for_withdrawn_state window 0x20028/a00013 wait timed out | fixme:event:wait_for_withdrawn_state window 0x10024/a00005 wait timed out
Hmm... I think I found something. After these two lines I thought "maybe this is due to a missing window manager..." So I started twm and bang, the problem occurs - notepad hangs on first keypress. When I terminate twm, notepad runs fine again. Same with windowmaker.
Summing up: wine notepad within an Xvnc runs fine but takes long to terminate (with error message) as long as no window manager is running. Either with twm or windowmaker the hang occures.
Btw, my regular window manager is icewm.
More info: if I enable "Emulate a virtual desktop" the problem vanishes - notepad works.
Maybe related: If I disable all options in "winecfg.Graphics. Window_Options" the wine window never gets focus and thus no key event at all.
Ciao.