[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

2726.0. "File deletions" by DPDMAI::ANDERSONA () Sat Jul 08 1989 19:42

    I had a strange occurance the other day.  I turned on my Amiga and
    after opening a drawer on my hard disk I selected three IFF files with
    the Shift and Left mouse button.  I then selected the Discard item
    from the workbench menu.  The three files were discarded along with
    most of the rest of the contents of the drawer including four
    subdirectories.  The only thing I can think of is the day before I had
    rearanged the contents of the drawer and used the Shift select to
    snapshot the new icon positions.  I verified that the files were gone
    with the CLI and they were. This is the only time I have had something
    strange occur that I could not definetly pin it down to a loose nut on
    the keyboard.
    
    Any ideas
    
    Alan
    
    
T.RTitleUserPersonal
Name
DateLines
2726.1Possible User ErrorTLE::RMEYERSRandy MeyersSat Jul 08 1989 21:0020
Re: .0

I suspect that you have accidentally selected the drawer you were working
in for the discard as well.  I guess you did the following:

	Click on the drawer icon to open it up.

	Press and hold down "shift" on the keyboard.

	Click on the files you wanted to discard.

	Select "Discard" from the Workbench menu.

The problem (if you made this mistake!) was that the drawer icon was
already selected.  You should have clicked the mouse on the first
file you wanted to discard (thus deselecting the drawer) before
pressing and holding down the shift key.

It is hard to know what really happened, but the above accident has
happened to me (I'm lucky, I wasn't doing a discard at the time).
2726.2Some were gone not allDPDMAI::ANDERSONATue Jul 11 1989 00:5822
    That would make sense if the entire drawer with its contents went away. 
    But only some of the files in the drawer were deleted and only some of
    the sub directories were deleted.  There were a few files and one 
    subdirectory left in the drawer that I had opened.  Also if I had been
    mousing around in the drawer before hand, but I had just turned it on.
    
    What I did was
    1  Power up the Amiga
    2  Click on the Hard disk partition icon
    3  Click on the Maxiplan Drawer
    4  Click Shift on the three IFF files
    5  Select the Discard item
    6  Sit there with my mouth open when the drive light did not stop
       blinking and other files (not all) were deleted from the drawer.
    
    Chock one up the the great computer god.  Some day I will do it again
    and figure out what I did wrong.  
    
    Thanks
    Alan
    
    
2726.3This happened to me tooDUB01::OBRIEN_PAULPoint and GruntTue Jul 11 1989 11:1819
    
    This happend to me some time ago. I think .1 is right, the you had
    the drawer selected as well as the IFF files when you asked the
    Amiga to do a discard.
    
    Why were some files left in the drawer? Well, I've noticed on more
    than one occasion that a discard on a drawer with sub drawers and
    lots of files has failed to kill all the files. Maybe its a bug.
    
    The lesson I learned was BE CAREFUL USING SHIFT-CLICK AND DISCARD.
    You can easily select more icons than you intend.
    
    Hope you had a backup, I did'nt!
    
    I do now :-)
    
    Paul O'Brien
    Dublin
    
2726.4Some other file problemsMANTIS::LONGMel Blanc, t-t-t-that's all folksTue Jul 11 1989 11:5626
	Just out of interest, are you running ARP 1.3 and Qmouse or MACH?
	I've had some interesting problems with trying to move one drawer
	across the screen, only to have it disappear in transit. It gets
	pulled into whatever drawer I happen to pass over, even though I
	didn't release it.  The first time this happened, I ended up 
 	redownloading/installing about a dozen utilities before I found
	the originals.

	I also have tried to move things to the Trashcan and then not be 
	able to empty the trash if it was a multi-level directory tree.

	A bug has also appeared in Matt Dillon's backup utility that is
	a little scary. If you have a drawer called FOO and in that 
	drawer you have a file called FOO,  backup does make a backup but
	restore won't restore the file in the drawer unless you do a
	specific restore on that particular file ( which means you have
	to know which floppy of 15 the file was backed up on )

	The worst occurance ( one that I agonized over for weeks before
	daring to do anything about it ) was the appearance of a file
	named * ( probably caused by some fat-fingered wildcard Rename ).
	This is about the equivalent of having a 1000 block file in VMS
	called *.*;*.
	
		Dick
2726.5Is "mousing around" a new term?MQOFS::DESROSIERSLets procrastinate....tomorrowTue Jul 11 1989 13:1211
    Also, if you overlap icons by just one silly pixel and the mouse
    happens to bounce a button, it will be selected.  A couple of times,
    I was moving drawers on the workbench screen, when they just
    disappeared, only to find them later "hidden" in other drawers.
    What happened, is as I finished moving the icon, it was overlapping
    another on (drawer on drawer) the system tought I wanted to move
    the WHOLE drawer into the other one, so it did.  This I am told
    will be fixed in 1.4
    
    Jean
    
2726.6Not all files would be deleted...TLE::RMEYERSRandy MeyersFri Jul 14 1989 22:1736
Re: .2

>    That would make sense if the entire drawer with its contents went away. 
>    But only some of the files in the drawer were deleted and only some of
>    the sub directories were deleted.

The Workbench aborts a "Discard" or "Empty Trash" operation when it encounters
the first failed deletion.  You only need one file that is protected or
locked in order for the Workbench to give up.  (I usually have considered
this to be a bug; it was a feature in your case!)

The Workbench itself way have had the locks that prevented the one of the
files from being deleted.  After all, you had selected the files in
directory as well as the directory itself for deletion.  Depending on
when the Workbench discard operation locks its arguments, you could have
seen the situation your described.

>    What I did was
>    1  Power up the Amiga
>    2  Click on the Hard disk partition icon
>    3  Click on the Maxiplan Drawer
>    4  Click Shift on the three IFF files
>    5  Select the Discard item

What you just described (assuming you really did leave off step "3a Click
on first item to discard without shift") is what got you in trouble.

>Also if I had been mousing around in the drawer before hand, but I
>had just turned it on.

Actually, "mousing around" probably would have deselected the drawer
and saved you!

After I get my system put back together (I just moved), I'll try duplicating
what I think you did to see if the "accidentally selected drawer" theory
holds water.
2726.7Thank for the ideasDPDMAI::ANDERSONASat Jul 15 1989 00:3212
    Thanks for the ideas.  I think I did the Shift Click with out the
    Clicking on anything else first so the file deletion failure is the
    probable answer.  The day before this occured was rearanging the contents
    of the drawer and used the Shift Click and Snapshot to set the Icon 
    positions so I was messing around with the idea that somehow workbench 
    still had those files selected, (after a cold boot?? not likely). 
    Any way I havent been able to reproduce it.  But I havent been able 
    to get at Amy that much this last week.  I ll create a drawer just to
    play it safe.
    
    Alan
    
2726.8loose nutDPD20::ANDERSONASat Aug 12 1989 18:005
    yep definetly a loose nut on the keyboard!!!
    
    Thanks 
    Alan