Bug 374036 - copy/cut to clipboard sometimes not working (mac os x)
Summary: copy/cut to clipboard sometimes not working (mac os x)
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 7.0.1   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
: 414446 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-03-13 04:31 EDT by Konstantin Stupnik CLA
Modified: 2020-09-04 15:24 EDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Stupnik CLA 2012-03-13 04:31:56 EDT
Build Identifier: Version: Indigo Service Release 2 Build id: 20120216-1857

Periodically copy/cut operations do not work.
I cannot reproduce this 100% of time but the bigger the file, the higher probability of failure.
If I repeat shift-up, command-x, command-v in file with 2700 lines then on 3-5 cycle there is high chance that line won't be cut.
This never happened in file with 10 lines.
What I noticed after trying to reliably reproduce this for awhile:
If I paste line and then select it back and quickly click 'Edit' menu, Copy and Cut menu items might be grey for a few moments.
Don't know if it is related.
Sometimes it might fail even after second attempt.
i.e. I select line, copy it, paste at different location, but previous content of clipboard is pasted.
Then I press undo, select line again, again press copy, and again previous content of clipboard is pasted.

I'm working on mac mini with 2Ghz Core 2 duo and 4 gb ram. Mac OS X 10.7.3 with all updates.
This happened in the previous version, but much rarely.

Eclipse restart do not affect this.
I tried to close all other apps, but it didn't help at all.


Reproducible: Sometimes

Steps to Reproduce:
1. Open big C++ file in cdt editor. With semantic syntax highlighting enabled.
2. Select some line.
3. Try cut&paste it repeatedly.
Comment 1 Marc-André Laperle CLA 2012-03-16 02:07:20 EDT
I have the same problem from time to time. Looks like it might be the same as Bug 76106.
Comment 2 Bernhard Stadler CLA 2012-07-09 07:22:21 EDT
Bug 70077 and Bug 200743 seem to be similar.
I already wrote a comment there (bug 200743, comment 69).

PLEASE fix this bug - it really breaks copying because it is more efficient to cut and wait for eclipse to render and then re-paste than to copy+paste unsuccessfully several times in a row.
Comment 3 Bernhard Stadler CLA 2012-07-09 10:00:28 EDT
Might this be a problem caused by input handling itself? I have the impression that Ctrl+C is not the only keyboard shortcut with this problem.
Comment 4 Thomas Whitmore CLA 2013-12-12 17:30:15 EST
I'm having problems with key-bindings repeatedly stopping working in 4.2 Kepler SR1 also, with my preferred bindings (Rename in File, Search Write References).

I've even found Ctrl-Left, Ctrl-Right word left/right & Ctrl-1 "quick fix" to stop working, after a while.. though 'plain' arrow keys & typing continued to work.

There's something badly broken in platform I think.
Comment 5 Stefan Holmer CLA 2014-01-31 07:39:50 EST
Are you having any progress on this bug? It makes working with Eclipse on Mac very painful.
Comment 6 Marc-André Laperle CLA 2014-01-31 09:54:31 EST
*** Bug 414446 has been marked as a duplicate of this bug. ***
Comment 7 Marc-André Laperle CLA 2014-01-31 10:18:55 EST
(In reply to Stefan Holmer from comment #5)
> Are you having any progress on this bug? It makes working with Eclipse on
> Mac very painful.

I did some investigation part of Bug 414446 and it was a pretty difficult issue to debug for me for a few reasons. I was able to reproduce the problem fairly reliably with the Firefox source code. Unfortunately, I could not reproduce it when launching from the Eclipse SDK, only when using the Eclipse C/C++ EPP which is pretty strange. So I had to attach the Remote Java debugger to debug. On top of that, having 2 Eclipse running and the Firefox code in the workspace is just too much for my poor 2007 MBP so I have to borrow someone else's. Anyway, I do really want to see this fixed so I'll try to look into it sometime in the next couple of weeks.
Comment 8 Paris Apostolopoulos CLA 2014-05-06 04:40:33 EDT
OS: MacOSX 10.9.2
JDK: 6 or 7 or 8 
Currently using : Kepler SR 2

I am an MacOSX , Eclipse user for year, I am affected by this bug as well. It is more than 'sometimes'.