Describe the bug
Apple II DeskTop allows the user to replace a folder with an item it contains in the File > Copy a File... dialog box.
To Reproduce
Steps to reproduce the behavior:
- Start Apple II DeskTop from "A2.Desktop", which is a fresh copy of the "A2DeskTop-1.2-alpha40-en_800k.2mg" disk image.
- Double-click and open the "A2.Desktop" volume.
- Double-click and open the "Desk.Acc" folder.
- Rename the "Calculator" desk accessory file to "Desk.Acc".
- Close the "Desk.Acc" window.
- Close the "A2.Desktop" window.
- Click on the File menu and go to File > Copy a File....
- Select the "Desk.Acc" folder.
- Click Open.
- Select the "Desk.Acc" desk accessory file.
- Click OK.
- Click OK again without doing anything else.
- A "Copy..." dialog box appears stating, "That file already exists. Do you want to write over it?".
- Click Yes.
- An error message alert dialog box appears stating, "The file is locked."
- Click OK.
- Double-click and open the "A2.Desktop" volume.
- The "Desk.Acc" folder has been replaced with the "Desk.Acc" desk accesory file.
- Double-click and attempt to open the "Desk.Acc" desk accessory file.
- Apple II DeskTop freezes.
Expected behavior
Apple II DeskTop should not allow the user to replace a folder with an item it contains in the File > Copy a File... dialog box and Apple II DeskTop should instead give an error message. The File > Copy a File... dialog box should not be dismissed so that the user can either choose another filename for the item, choose another location to copy the item or choose a different item to copy.
Screenshots
I am sorry. I have no screenshots to help explain my problem.
System Details (please complete the following information):
- System [e.g. Apple IIe Enhanced, Apple IIc, Apple IIgs] Apple IIGS (ROM 01)
- Emulator? [e.g. real hardware, or emulator name] GSplus 0.14 (the latest version of the program)
- ProDOS version ProDOS 2.4.2 (the latest version)
- DeskTop version (from About > Apple II DeskTop...) Apple II DeskTop 1.2 Alpha 40 (the latest version of the program)
- Other [e.g. mouse, memory expansions, disk types, etc]
Additional context
There is no other context about the problem here.
Describe the bug
Apple II DeskTop allows the user to replace a folder with an item it contains in the File > Copy a File... dialog box.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Apple II DeskTop should not allow the user to replace a folder with an item it contains in the File > Copy a File... dialog box and Apple II DeskTop should instead give an error message. The File > Copy a File... dialog box should not be dismissed so that the user can either choose another filename for the item, choose another location to copy the item or choose a different item to copy.
Screenshots
I am sorry. I have no screenshots to help explain my problem.
System Details (please complete the following information):
Additional context
There is no other context about the problem here.