Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbjade.BERKELEY.EDU Path: utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!petrus!bellcore!decvax!ittatc!dcdwest!sdcsvax!ucbvax!ucbjade!ucbopal!mwm From: mwm@ucbopal.berkeley.edu (Mike (I'll be mellow when I'm dead) Meyer) Newsgroups: net.micro.amiga Subject: Re: What does it take to... Message-ID: <458@ucbjade.BERKELEY.EDU> Date: Fri, 21-Mar-86 23:30:30 EST Article-I.D.: ucbjade.458 Posted: Fri Mar 21 23:30:30 1986 Date-Received: Wed, 26-Mar-86 06:52:08 EST References: <1513@caip.RUTGERS.EDU> <852@amiga.amiga.UUCP> <1551@gitpyr.UUCP> Sender: usenet@ucbjade.BERKELEY.EDU Reply-To: mwm@ucbopal.UUCP (Mike (I'll be mellow when I'm dead) Meyer) Organization: Missionaria Phonibalonica Lines: 26 In article <1551@gitpyr.UUCP> lbg@gitpyr.UUCP writes: >In article <852@amiga.amiga.UUCP>, jimm@amiga.UUCP (Jim Mackraz) writes: >> 1): Although I can't seem to find it in the Intuition Manual, =RJ Mical=, >> Intuition author, takes a firm stand that menus *must* have at least >> one item. Please direct philosophical comments to him. The status of >> this in future intuition releases has not been finalized, but in the >> meantime you must not set a menu strip with a menu having no items. > >Why not just turn off that menu, through the use of OffMenu() ? The effect >is the same, without going against your Intuition. So to speak. Except that it doesn't work (well, it shouldn't!). I started this discussion when I found that feature/bug. Shortly after I posted the question, I tried opening the menu disabled (which is what OffMenu does), and then pulling it down. The system crashed quite nicely. It appears that intuition is chasing through the NULL item pointer, trying to find items. I "solved" the problem by adding a single disabled item to the menu, "EMPTY". This came up with the browser (recently sent to mod.sources). The version posted also crashes if you feed it one of the recent Fish disk (#13 or thereabouts), as that has 106 files in it. 106 menu entries!?! I don't blame it, I'd crash to. I'd like to fix this in later versions, if someone can come up with a reasonable way.... Thanx,