[Bug 2689] New: Clicking Open in Sound Forge 4.5 Open file dialog does nothing
http://bugs.winehq.org/show_bug.cgi?id=2689 Summary: Clicking Open in Sound Forge 4.5 Open file dialog does nothing Product: Wine Version: CVS Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-gui AssignedTo: wine-bugs(a)winehq.org ReportedBy: vesuri(a)jormas.com To reproduce: 1. Install a version of Sound Forge (4.5 or newer) 2. Select File->Open 3. Select a valid WAV file 4. Click Open 5. Nothing happens - the Open dialog should close and the file should be opened Sound Forge has a custom Open file dialog that includes information about the selected file in addition to the default controls. I debugged this problem and found out that this happens because FILEDLG95_OnOpen() calls FILEDLG95_SendFileOK() which in turn sends a notification message to the application by calling SendCustomDlgNotificationMessage(hwnd,CDN_FILEOK). For some reason Sound Forge does not like the information entered into the Open file dialog so GetWindowLongW(fodInfos->DlgInfos.hwndCustomDlg, DWL_MSGRESULT) gets a non-zero return value causing FILEDLG95_SendFileOK() to cancel the operation by returning FALSE. If I remove the FILEDLG95_SendFileOK() call completely from FILEDLG95_OnOpen() Sound Forge will open the file just fine. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
participants (1)
-
Wine Bugs