http://bugs.winehq.org/show_bug.cgi?id=19081
--- Comment #1 from Owen Rudge owen@owenrudge.net 2009-07-21 22:28:57 --- Created an attachment (id=22519) --> (http://bugs.winehq.org/attachment.cgi?id=22519) Patch to ensure Open window has an owner
I could not reproduce this bug specifically with current git (Wine 1.1.26) on Mac OS X (I don't currently have access to a Linux box), although I did find that the Open dialog would stay open despite the main winhelp window having closed, which may be related. The attached patch gives the open dialog an owner - for me now, the Open window closes when AutoHotKey tells the winhelp window to close (as it does when using the standard Windows winhlp32). Does this fix your issue?