#69 User specified directory not used in save dialog


On first saving a video, if "ask for file name" is selected, the temp video saves to the correct directory but the save dialog opens the default program directory.

In Recorder/RecorderView.cpp (line 982):
fdlg.m_ofn.lpstrInitialDir = savedir;

savedir doesn't seem to get set until a video has been saved (line 1048):
savedir = strTargetDir;

Note that strTargetDir only gets set in the if statement starting at line 991.

There's a call to GetMyVideoPath if savedir = "" as part of the dialog creation on line 980 which I assume should be returning the user specificed directory but I can't see where this function is defined (C++ isn't a language I use so often so I might be just overlooking it in one of the includes).

I'm running Windows 7 64 bit. Not sure if that makes a difference.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks