Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 72227 - Datapool Editor: Clipboard Functionality from Keyboard Incomplete
Summary: Datapool Editor: Clipboard Functionality from Keyboard Incomplete
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Hyades (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Scott E. Schneider CLA
QA Contact:
URL:
Whiteboard: closed460
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-19 02:40 EDT by Scott E. Schneider CLA
Modified: 2012-02-15 13:47 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott E. Schneider CLA 2004-08-19 02:40:37 EDT
Cut, copy and paste (CTRL-X, CTRL-C, CTRL-V) only work if the X, C or V key is 
released *before* the control key.  It appears to be a problem with the 
DatapoolTable.CursorKeyAdapter implementation of keyReleased and keyPressed 
methods.  Potentially needs more code added to keyReleased to handle the case 
where the control key is release *after* X, C or V key.

So basically cut, copy and paste only work about half the time, appearing to 
work intermittenly.
Comment 1 Joe Toomey CLA 2004-08-19 09:40:07 EDT
Looks like you already have a line on how to fix this.  Good find.
Comment 2 Scott E. Schneider CLA 2004-09-02 13:18:48 EDT
Key released events are being lost due to the 50020 bug listed in the depends 
section of this bug.  I'm look into other solutions that can bypass this 
dependency we have on another defect.
Comment 3 Scott E. Schneider CLA 2004-09-02 13:55:05 EDT
Cut, copy and paste with CTRL-{X,C,V} work fine from TextCellEditor but not 
from the TableCursor level.  For now, deferring this.
Comment 4 Randy Hudson CLA 2004-09-02 14:11:12 EDT
I happened to look here because I'm watching bug 50020. Cut/Copy/and Paste 
should occur on keypressed, not key released. Key releases are only ever 
important if you are entering a mode or starting repeating timer or something.
Comment 5 Scott E. Schneider CLA 2004-09-02 16:29:31 EDT
Moving handlers to key pressed instead of key released per advice of Randy 
Hudson, removing dependency on 50020.
Comment 6 Scott E. Schneider CLA 2004-09-03 19:33:52 EDT
bugzilla_72227

Added three actions for keyboard-directed cut, copy and paste commands when 
editing table with table cursor.  Previous code
in the cursor key listener key released method has been removed since it is 
not the proper way to handle these edit actions.
A new method has been added to the IDatapoolPart interface to allow access to 
associated IEditorPart instance.  A new method
has been added to DatapoolTable to connect up these action instances for cut, 
copy and paste actions.  Also, noticed and fixed
a few other cut
Comment 7 Joe Toomey CLA 2004-10-05 08:29:14 EDT
correcting bugzilla target milestone -- setting back to 3.1 i2
Comment 8 Paul Slauenwhite CLA 2009-06-30 12:39:40 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.