There is no reason to search for anything, searching is slow and makes the result of starting the app less preditcable (which of the 3 skins dirs are we loading from this time) and besides stuff should not be moving around.
On *nix, things are defined as to where they should be, on Windows it should be relative path to the .exe which in the normal case should be %ProgramFiles%\app. The fatal error is to do with a default not being associated with the proper config key or an extra bit of crap being added. Mixxx knows where to find its skins directory based on the compile prefix or the default value which should be defined in UNIX_SHARE_PATH On 19/01/2009, Nick Guenther <[email protected]> wrote: > Paths are a problem all over the place. Mixxx should really do > something like search it's run directory (good for Windows/OSX, or in > development), then search it's standard resource dirs (/usr/?/share), > and skins and friends should be moved out of src/. > > On Mon, Jan 19, 2009 at 1:42 PM, Garth Dahlstrom <[email protected]> wrote: >> There are some bugs when ~/.mixxx.cfg is deleted and Mixxx is run... >> One of them is a fatal error with the skins dir being not found. You >> basically have to run+crash Mixxx twice before you can have it >> start+run reliabily. >> >> These should both be pretty trivial for folks with a little bit more >> time on there hands ... Something like setting default value (which >> are defined in header files somewhere) would probably do it... >> >> -G >> >> On 19/01/2009, Albert Santoni <[email protected]> wrote: >>> >>> On 19-Jan-09, at 12:24 AM, Nick Guenther wrote: >>> >>>> `Critical: Skin directory does not exist: >>>> "/Users/nguenther/pro/mixxx/mixxx/skins/"` never made much sense to >>>> me. Is there a reason we can't position the controls in a default way >>>> and then let a skin rewrite that if it's loaded? >>> >>> I agree, but I don't even think you can create any of the Mixxx >>> controls without pixmaps loaded for all of them. I think that's the >>> reason, but it's worth poking at the WWidget class and some of the >>> others if you want to get a definitive answer. >>> >>> Albert >>> >>> ------------------------------------------------------------------------------ >>> This SF.net email is sponsored by: >>> SourcForge Community >>> SourceForge wants to tell your story. >>> http://p.sf.net/sfu/sf-spreadtheword >>> _______________________________________________ >>> Mixxx-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/mixxx-devel >>> >> >> >> -- >> __ >> --- == __/ t.O ==-- >> http://stacktrace.org/ >> > -- __ --- == __/ t.O ==-- http://stacktrace.org/ ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Mixxx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mixxx-devel
