Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 87263

Summary: Ctrl-ins/Shift-ins no longer work for copy/paste in PDE editor
Product: [Eclipse Project] PDE Reporter: Kim Horne <eclipse>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: bokowski, douglas.pollock, email, fillg1, gunnar, jon, macca, n.a.edgar, pombredanne, tratar
Version: 3.1   
Target Milestone: 3.1 RC2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Kim Horne CLA 2005-03-07 09:28:21 EST
I20050301-1230

In previous builds I could use ctrl/shift-ins for copy and paste but it no
longer works in this weeks build (much to my frustration).
Comment 1 Wassim Melhem CLA 2005-03-10 01:47:56 EST
have no idea what those keybindings do and why they would stop working.
Doug, do you have any input?
Kim, are you talking about the forms pages of the editor or the source page?
if the latter, do those keybindings work in a plain text editor?
Comment 2 Kim Horne CLA 2005-03-10 08:14:33 EST
I'm talking about the forms editor.  They still work in the source editor.
Comment 3 Douglas Pollock CLA 2005-03-10 10:08:03 EST
See Bug 67651.  This is likely a problem because these keys are now being
handled by the key binding service (and hence the cut/copy/paste command),
rather than the native cut/copy/paste behaviour.

This is likely related to (or a duplicate of) Bug 62886.
Comment 4 Wassim Melhem CLA 2005-04-26 01:48:41 EDT
*** Bug 92727 has been marked as a duplicate of this bug. ***
Comment 5 Gunnar Wagenknecht CLA 2005-04-26 01:54:57 EDT
It seems to work if the text was cutted/copied previously in the plugin editor.
But it does not work if the text was cutted/copied in an external application
(for example, notepad).
Comment 6 Wassim Melhem CLA 2005-05-24 00:09:55 EDT
*** Bug 62886 has been marked as a duplicate of this bug. ***
Comment 7 Wassim Melhem CLA 2005-05-24 00:12:51 EDT
I am still unable to reproduce this, even with text copied from external 
editors.  Can someone come up with a reliable sequence of events?  thanks.
Comment 8 Kim Horne CLA 2005-05-24 10:17:40 EDT
Open a plugin XML editor
Go to the extension page
Add a new extension (doesn't really matter which, but lets say views)
Add a new view
Change the id to something identifiable
Copy the id
Add another new view
Try and paste the copied id into the new view id element
Nothing happens
Comment 9 Wassim Melhem CLA 2005-05-24 19:47:44 EDT
*** Bug 96226 has been marked as a duplicate of this bug. ***
Comment 10 Wassim Melhem CLA 2005-05-24 23:28:30 EDT
The scenario in comment 8 worked for me with both ctrl-c/v and ctrl/shift-ins

I was on WinXP.  Do I need to be on a particular platform?
Comment 11 Marco Maccaferri CLA 2005-05-25 02:42:04 EDT
Further experiments showed that the problem is the paste operation.
Following the example in comment #8, if you paste using the context menu it
works. This means that using the keyboard the copy operation works, but not the
paste operation.
This was on WinXP Sp1 (Italian O.S. and keyboard) and Eclipse 3.1M7.
Comment 12 Wassim Melhem CLA 2005-05-25 23:31:26 EDT
*** Bug 63613 has been marked as a duplicate of this bug. ***
Comment 13 Boris Bokowski CLA 2005-05-31 16:09:46 EDT
I am experiencing the same problem (CTRL-V for paste does not work in the forms 
of the plug-in manifest editor). I am using Windows XP.
Comment 14 Philippe Ombredanne CLA 2005-06-01 02:47:59 EDT
I have experienced this problem forever on 31 milestones, the context menu
works, not the keys. I just was too lazy to to repot it at the time :-)
Comment 15 Erwin Tratar CLA 2005-06-01 04:25:41 EDT
For me it works as long as I do not change the page (RC1/WinXP). E.g. in the
Extensions page for plugin.xml select an extension node, select some text and
CTRL+C it. CTRL+V works as long as no other node in the tree is selected. Then
select another node (the details page changes) and now CTRL+V does not work
anymore (Context menu paste works)
Comment 16 Philippe Ombredanne CLA 2005-06-01 18:37:16 EDT
It does not work when you are trying to copy something from one openend plugin
form to another opened plugin form, unless you use the context menu.
CTRL+c/copy works, but CTRL+V/paste works ONLy with the context menu, keyboard
action does nothing.
A small but annoying issue...
Comment 17 Erwin Tratar CLA 2005-06-06 07:25:38 EDT
What is the current status on this issue? Is it going to be fixed for 3.1?
Comment 18 Wassim Melhem CLA 2005-06-08 00:23:52 EDT
*** Bug 79783 has been marked as a duplicate of this bug. ***
Comment 19 Wassim Melhem CLA 2005-06-08 00:27:14 EDT
Fixed.

I was finally able to reproduce when I accidentally found Nick's scenario in 
bug 79783.

The problem was occurring only when text was being copied between "child" 
elements of extensions. 
Comment 20 Wassim Melhem CLA 2005-06-10 06:50:33 EDT
*** Bug 99311 has been marked as a duplicate of this bug. ***
Comment 21 Wassim Melhem CLA 2005-06-13 15:06:36 EDT
verified on RC2.