Vassilii,

Doesn't it mean that something resets it between the options parsing and
the GUI help stuff processing?

probably, putting the same SG_LOG in the patch right after the set in options.cxx, I get:

help app is open                                // correct

During the help call, I get:

 Help application -- netscape   //incorrect


I'd rather see a patch that finds
the offending code modifying it, if that's the case.

me too, but this is a workaround that would permit help to work on GM fg9.9, which I imagine is going out soon. It only hits one function which is used for help and all changes are only done at compile time and should not affect other oses.

Just grepping for browser-app in fgdev9.9/src:

find . -name "*.[ch]xx" | xargs grep browser-app
./FlightGear/src/GUI/gui_funcs.cxx: string help_app = fgGetString ("/sim/startup/browser-app"); ./FlightGear/src/Main/options.cxx: fgSetString("/sim/startup/ browser-app", "webrun.bat"); ./FlightGear/src/Main/options.cxx: fgSetString("/sim/startup/ browser-app", "open"); ./FlightGear/src/Main/options.cxx: fgSetString("/sim/startup/ browser-app", "launchWebJumper"); ./FlightGear/src/Main/options.cxx: fgSetString("/sim/startup/ browser-app", envp); ./FlightGear/src/Main/options.cxx:// SG_LOG( SG_GENERAL, SG_INFO, " help app is " << fgGetString( "/sim/startup/browser-app" ) ); ./FlightGear/src/Main/options.cxx: SG_LOG( SG_GENERAL, SG_ALERT, " help app is " << fgGetString( "/sim/startup/browser-app" ) ); ./FlightGear/src/Main/options.cxx: {"browser- app", true, OPTION_STRING, "/sim/startup/browser- app", false, "", 0 },

this is beyond my abilities 8-( I wasn't trying to blow it off, really! 8-)

BTW: there's
an option to debug/trace every property read/write for a given property,
sorry I can't say more right now as I am logging into my mail remotely
at this moment w/o any graphics around to test the things.

Thanks very much for your information, I would like to find out more about this debug/trace property thing that you mention.

Best regards,

Ima

_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to