-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
5.0
-
x86
-
windows_xp
A DESCRIPTION OF THE REQUEST :
To successfuly Cut and Paste a file list requires feedback from the destiation application that the Paste operation has been successful or not. The functionality to recieve and / or return the success and failure of a Paste operation does not currently exist.
JUSTIFICATION :
Cut and Paste operations can not be fully supported.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Once the transferable object has been exported / passed to the system clipboard, for a cut operation. The TransferHandler needs to be notified of three possibilities that would complete the Cut operation.
1. Another cut or copy has been made, replacing the contents of the system Clipboard and ending the cut with a failure.
2. A paste operation is attemped, but fails, ending the cut operation with a failure.
3. A paste operation completes successfully, ending the cut operation with a success.
There also needs to be a way to notify the source of a cut operation of the success or failure of a paste operation.
ACTUAL -
Currently the the cut transaction is completed by the exportDone() method in the Transfer handler as soon as the transferable object is passed to the clipboard.
To successfuly Cut and Paste a file list requires feedback from the destiation application that the Paste operation has been successful or not. The functionality to recieve and / or return the success and failure of a Paste operation does not currently exist.
JUSTIFICATION :
Cut and Paste operations can not be fully supported.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Once the transferable object has been exported / passed to the system clipboard, for a cut operation. The TransferHandler needs to be notified of three possibilities that would complete the Cut operation.
1. Another cut or copy has been made, replacing the contents of the system Clipboard and ending the cut with a failure.
2. A paste operation is attemped, but fails, ending the cut operation with a failure.
3. A paste operation completes successfully, ending the cut operation with a success.
There also needs to be a way to notify the source of a cut operation of the success or failure of a paste operation.
ACTUAL -
Currently the the cut transaction is completed by the exportDone() method in the Transfer handler as soon as the transferable object is passed to the clipboard.
- relates to
-
JDK-5078787 Improve perf. of Windows clipboard and clear the way to enrich its functionality
-
- Open
-