Philip Lochner wrote:GAUGEDESIGNER:
I open a gauge
edit it
save it (or use save as) choosing the same file I've just opened
it asks for confirmation if I want to overwrite the file
I say "yes".
Close it, open the same gauge again, expecting to see the changes I made, all gone. No changes to gauge saved.
If I save it to a new directory where the file is created the first time the gauge is saved with the changes, and it saves it with changes - but only on that first time save. Try edit that one again and again no changes saved.
What happens if you save, say yes, then EXIT and restart gaugedesigner and reload that gaugee, do the changes showup? I noticed a bug like this once, but then could never replicate it, so chalked it up to pebkac issue (problem exists between keyboard and chair). Will re-investigate the issue..
Just for the hell of it, check in C:\program files\megatunix.megatunix\Gauges to see if you "modified" one is there?
This is the tricky part. Megatunix is designed on linux, which has pretty strict security (well anything is strict compared to windows), but there's a pretty string distinction between "system" files and "personal" files. Windows is pretty grey on that.. Linux won't let "joe user" modify files installed into system directories (permissions prevent it), Thus gaugedesigner will default to ALWAYS saving in your PERSONAL (C:\program files\megatunix\.megatunix\gauges) tree of gauges, not the "system" path of c:\program files\megatunix\.dist\gauges, This way when megatunix is updated, your PERSONAL gauges are left alone, but system wide ones get updated with the current release, hence it's bad to modify a system wide gauge, as it may get erased on the next update.
Odds are you opened a system one (installed in c:\program files\megatunix\.dist\Gauges.... ) then saved it, and gaugedesigner stuck it in your personal area, then when you went to reopen it, gaugedesigner defaulted to the system path and you thought it lost the settings.
In the file open box, on the left are "aliases" to locations, you should see TWO called "Gauges". one is the system path (typically the top one), the other is the personal path. If you click on the second "Gauges" and go to your personal tree you should be able to find a gauge with the same filename as yours that'll be the one you want.
I need to find a way to make the alias have a custom name... this'll avoid that confusion....