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

Bug 341998

Summary: Copy selection is not working when combining mouse and keyboard
Product: [Eclipse Project] Platform Reporter: Ivan <ivan.outer>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, mail
Version: 3.7Keywords: needinfo
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description Ivan CLA 2011-04-06 06:18:38 EDT
Build Identifier: 20100917-0705

Sometimes Copy function (ctrl+c, ctrl+insert, menu item) is not working. Moreover when you try to paste to eclipse, it hangs for 5 seconds or so. It is very annoying.
Not sure about exact relation, but seems like it appears more often when you start selection with a mouse and proceed with a keyboard or vice versa. Also It somehow depends on the device (mouse or kbrd) that accomplished previous selection.
But the bug appears when you use only one device as well (in this case repeating of Copy operation usually helps, but not gives back 5 seconds of course).

Reproducible: Sometimes

Steps to Reproduce:
See details.
Comment 1 Dani Megert CLA 2011-04-06 06:21:14 EDT
Where can you reproduce this:
- text fields
- Text editor
- Java editor
- others?
Comment 2 Ivan CLA 2011-04-07 10:24:32 EDT
> - Java editor
Not sure about other editors (as I work mostly with java), but at least I don't remember such appearances.
Comment 3 Dani Megert CLA 2011-04-07 10:26:22 EDT
(In reply to comment #2)
> > - Java editor
> Not sure about other editors (as I work mostly with java), but at least I don't
> remember such appearances.

So, it's not happening that often that you could reproduce?
Comment 4 Ivan CLA 2011-04-07 12:54:36 EDT
No. And sometimes it is not happening at all.
But when happening, restarting of eclipse is helping not for a long time. So probably this can be system issue as well. On another hand - it appears only for eclipse, so not some overall system problem.
Currently I cannot formalize conditions when the bug appears.

Also I've noticed that sometimes it behaves even more strange - I make Copy action in eclipse, then try to insert it in let's say notepad++, but nothing happening. Then I back to eclipse press ctrl+c again (or two more times) and the text appears in notepad++ by itself.
Comment 5 Dani Megert CLA 2011-04-08 01:52:23 EDT
(In reply to comment #4)
> No. And sometimes it is not happening at all.
> But when happening, restarting of eclipse is helping not for a long time. So
> probably this can be system issue as well. On another hand - it appears only
> for eclipse, so not some overall system problem.
> Currently I cannot formalize conditions when the bug appears.
> 
> Also I've noticed that sometimes it behaves even more strange - I make Copy
> action in eclipse, then try to insert it in let's say notepad++, but nothing
> happening. Then I back to eclipse press ctrl+c again (or two more times) and
> the text appears in notepad++ by itself.

Maybe you're running an application that deals with the clipboard (e.g. keeps history). Sometimes they tend to lock the system clipboard.

Moving to SWT for comments.
Comment 6 Rudolf Schmidt CLA 2011-05-16 06:16:42 EDT
I have the same problem with eclipse in ubuntu 11.10 with xfce4.8. i cant reproduce it also. but the effect is not depending with the mouse. i hope u can fix it.
Comment 7 Rudolf Schmidt CLA 2011-05-16 06:45:50 EDT
see plz also https://bugs.eclipse.org/bugs/show_bug.cgi?id=345912
Comment 8 Michael Rennie CLA 2011-05-16 16:29:08 EDT
*** Bug 345912 has been marked as a duplicate of this bug. ***
Comment 9 Dani Megert CLA 2011-08-10 03:24:42 EDT
Are you using VNC?
Comment 10 Eclipse Genie CLA 2018-10-14 15:53:17 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 11 Lars Vogel CLA 2019-09-02 15:06:14 EDT
This bug has been marked as stalebug a while ago without any further interaction.

If this report is still relevant for the current release, please reopen and remove the stalebug whiteboard flag.
Comment 12 Lars Vogel CLA 2019-09-02 15:13:55 EDT
This bug was marked as stalebug a while ago. Marking as worksforme.

If this report is still relevant for the current release, please reopen and remove the stalebug whiteboard tag.