[Bug 2689] New: Clicking Open in Sound Forge 4.5 Open file dialog does nothing

Wine Bugs wine-bugs at winehq.org
Tue Feb 1 13:50:35 CST 2005


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 at winehq.org
        ReportedBy: vesuri at 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.



More information about the wine-bugs mailing list