Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!shelby!agate!usenet.ins.cwru.edu!ncoast!davewt From: davewt@NCoast.ORG (David Wright) Newsgroups: comp.sys.amiga.advocacy Subject: Re: How to improve Workbench 2.0! Message-ID: <1991Feb8.035953.20963@NCoast.ORG> Date: 8 Feb 91 03:59:53 GMT References: <1991Jan27.105252.7019@marlin.jcu.edu.au> <7662@sugar.hackercorp.com> <1991Feb4.012848.13868@marlin.jcu.edu.au> Organization: North Coast Public Access Un*x (ncoast) Lines: 31 In article <1991Feb4.012848.13868@marlin.jcu.edu.au> glmwc@marlin.jcu.edu.au (Matt Crowd) writes: >>How does Workbench know if you have programs running or not? > >You mean the Amiga resource tracking is this bad! I'm appalled. And just what does resource tracking have to do with it? You don't need WorkBench to run software, and in fact, any program can use the CloseWorkBench function to *try* and close WorkBench if there are no more active WORKBENCH LAUNCHED programs. This is what he really should have said. If you run a program from the CLI, you may WANT WorkBench to close. And it is trivial to have a program running that can look at the keyboard and reopen WorkBench if a certain key is pressed. Do you complain that your car's transmission lets you shift into reverse while you are doing 55? Or shift from 5th to 1st at 85? Why should the machine pretend to assume it knows best? >>> 22) Can't empty trash unless trash can lid open! Stupid. ... >If the trashcan window is selected, it should know! It checks if >the icon is selected, not if the trash window is open and selected. A window has nothing to do with an icon, and vice-versa. Why should an Intuition object (the window) know anything about a WorkBench-specific object (the icon)? That would defeat the whole point of an object-oriented programming environment. This isn't a Mac, where selecting a window pops it to the front. Whether the window is open or not, or selected or not is irrelevant to whether the trashcan ICON is selected. When you have the trashcan WINDOW selected, you are working INSIDE the trashcan. This would be like holding your hand inside the trashcan while you are trying to empty it. When you click on the trashcan ICON you are talking about the trashcan as an object itself, including the programs inside it. Dave