http://bugs.winehq.org/show_bug.cgi?id=19081
--- Comment #2 from Austin English austinenglish@gmail.com 2009-07-22 17:33:18 --- (In reply to comment #1)
Created an attachment (id=22519)
--> (http://bugs.winehq.org/attachment.cgi?id=22519) [details]
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?
There are actually three bugs here, which I should've more fully explained.
1) Launching 'winhlp32' then closing 'Wine/Windows Help' not the open dialog should close winhelp and the open dialog. Your patch fixes that. 2) On wine, the "ERROR: Cannot find ''...." dialog comes up after closing. This doesn't happen on windows. 3) Just found this one, but on windows, run 'winhlp32'. Now close the open dialog. winhlp32 goes with it.
You patches fixes issue 1. 2&3 remain with/without your patch.