Bug 2154

Summary: Drag and Drop files does not check 'read-only' (1GE8MAV)
Product: [Eclipse Project] Platform Reporter: Simon Arsenault <simon_arsenault>
Component: UIAssignee: Ryan Cooper <ryan_cooper>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: ---   
Hardware: All   
OS: Windows All   
Whiteboard:

Description Simon Arsenault CLA 2001-10-10 22:27:34 EDT
If you drag and drop a read-only files, you are not prompted to confirm the move.
If you move the read-only file using the popup menu, you get an error
(see: 1GE8LT7: ITPUI:WIN - Internal Error: moving read-only files)

1) create a new project
2) in the Navigator, add a file in the root directory
3) create a new directory
4) make the file read-only (right click on file, click properties, Info, click "Read Only", click OK)
5) drag and drop the file to another directory

The file is moved without prompting the user.  The workbench should ALWAYS verify that the user
really wants to move the read-only file.

NOTES:
JEL (24/05/2001 12:16:06 PM)
	Related PR's:
		1GE8MI1: ITPUI:ALL - What is "read-only" property for? Ignored  by editors?
		1GE8LT7: ITPUI:WIN - Internal Error: moving read-only files
		1GE8MTR: ITPJUI:WIN - Package view ignores read-only property
Comment 1 DJ Houghton CLA 2001-10-29 17:55:36 EST
PRODUCT VERSION:
jre-win32-Eclipse-SDK-0.110

Comment 2 Simon Arsenault CLA 2002-01-16 16:35:33 EST
Verify this is still a problem.
Comment 3 Ryan Cooper CLA 2002-01-18 10:39:03 EST
Build: 20020115

When using the popup menu to move a read-only file, the user is prompted to 
confirm the move. However, when dragging and dropping a read-only file to move 
it, the user is not prompted to confirm the move.
Comment 4 Simon Arsenault CLA 2002-01-18 10:48:40 EST
The D&D and move menu item operations should behave the same way. Change the 
D&D code to prompt just like the move menu item does (with the same options).
Comment 5 Simon Arsenault CLA 2002-01-21 14:20:16 EST
Patch accepted. Will be part of build > 2002-01-21