Modern theme depends on current directory
|Reported by:||SF/iamdrsbaitso||Owned by:||Kirben|
If ScummVM is launched with a current directory other than the install directory (the one where scummvm.exe is), this error is given:
WARNING: Config 'modern' is NOT usable for themes or not found! WARNING: falling back to classic style!
And the launcher uses the classic theme.
This usually doesn't come up in with shortcuts (since the shortcut typically sets the start directory to the same one as the target path) but it happens almost all the time if ScummVM is launched from the command line.
Version info: ScummVM 0.10.0 (Jun 17 2007 11:19:20) Features compiled in: Vorbis FLAC MP3 zLib MPEG2
To reproduce on Windows (assuming ScummVM is installed in C:\Program Files\ScummVM), open a command prompt and run these commands:
cd \ "C:\Program Files\ScummVM\scummvm.exe" cd "C:\Program Files\ScummVM" scummvm.exe
The first execution of ScummVM uses the classic theme; the second uses the modern theme.
Ticket imported from: #1742296. Ticket imported from: bugs/3268.