Community
Participate
Working Groups
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.
Looks like you already have a line on how to fix this. Good find.
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.
Cut, copy and paste with CTRL-{X,C,V} work fine from TextCellEditor but not from the TableCursor level. For now, deferring this.
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.
Moving handlers to key pressed instead of key released per advice of Randy Hudson, removing dependency on 50020.
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
correcting bugzilla target milestone -- setting back to 3.1 i2
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.