Comment 7 for bug 695913

Revision history for this message
William Good (bkgood) wrote :

This is sorta fixed in lp:mixxx/1.9 r2651

Problem was that, with the config directory deleted, the db file couldn't be opened and mixxx assumed the error was a lack of driver. This situation is normally averted in mixxx.cpp where the library folder is selected, however, if nothing is selected (empty string is returned from the select-a-directory dialog, this is what happens when one selects a win7 library), ConfigObject<CV>::Save isn't called, and that's what creates that config path if it doesn't exist.

Fix was to make sure that directory exists before the library is created. This does leave an outstanding issue of what happens when a user selects the win7 music library and nothing happens (thank you microsoft). The return value of the dialog we use currently doesn't seem to distinguish between the user hitting cancel and a user selecting a directory that resolves to an empty string (like a win7 library), and we need to know to tell the user to pick a real directory if they pick a virtual one.