Actually this might not be so bad, as I think your grep may have
returned some false positives.
  The A380, 747-400 and 737NG800 only add an aircraft specific menu and
add "Pushback" to the Equipment menu, they don't disable any existing
menu items.

   However giving menu items an alias name or unique id is still worth
doing, and a way to check if an alias is present before adding new items
would be nice as well.


 S.


On Thu, 2010-12-30 at 19:18 +0100, ThorstenB wrote:

> Oh, this actually shows a larger problem. Obviously it isn't too
> uncommon for aircraft to disable or override specific menu items -
> mainly affects menu items for the radio stack and autopilot.
> Unfortunately all of this is done using fixed menu item positions -
> e.g. 5th menu, 3rd item... So any change of the menu item ordering
> currently breaks lots of planes. And obviously the recent menubar
> overhaul has done just that.
> We'll need to adapt all the aircraft using such hacks to the changed
> menu structure. And might need to think about a better solution to
> avoid future problems of this kind.
> I did a quick grep to find potentially affected aircraft (couldn't
> verify if their menus are all broken now, but that's the ones
> overriding or disabling specific menu items using fixed positions):
> 
> 717
> 737-300
> 737NG600
> 737NG700
> 737NG800
> 737NG900
> 747-400
> 757-200
> 777-200
> A320-family
> A380
> Aerostar-700
> b1900d
> Citation-Bravo
> CitationX>
> CRJ-200
> CRJ-900
> f16
> f-14b
> fokker100
> MiG-15
> VMX22-Osprey
> 
> => All the aircraft above override the radio and/or autopilot dialogs.
> Except for the MiG15, which just disables one dialog (like the f14).
> 
> So, what do we do? Adapt all the aircraft above - or revert the menu
> item ordering?
> 
> cheers,
> Thorsten
> 
> On Thu, Dec 30, 2010 at 6:37 PM, ThorstenB <bre...@gmail.com> wrote:
> > The F14 disables the first menu item from the 5th menu....
> >
> > ext_stores.nas => setprop("sim/menubar/default/menu[5]/item[0]/enabled", 0);
> >
> > Not sure which menu item originally was at this location.
> > Quite bad. Harded coded hacks like this just always break... ;)
> >
> > cheers,
> > Thorsten
> 
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and, 
> should the need arise, upgrade to a full multi-node Oracle RAC database 
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to