occasional bug: copy with CTRL-C sometimes does not work [message #160630] |
Tue, 25 May 2004 15:26 |
Eclipse User |
|
|
|
Originally posted by: edoardoATenigmatecDOTnet.no.spam
I have noticed this annoying problem since long - I am running M9 linux
gtk on jdk142_04, but a few days ago I saw this on M8 on windows XP.
You work normally in the java editor where ctrl-c and ctrl-v perform
copy and paste.
then, suddenly (often when your java file has currently some errors) you
do another ctrl-v and realize that you pasted something you did not mean
- reason: the last ctrl-c did nothing and the clipboard was still
storing the next-to-last content.
you can try ctrl-c again, but no that does not help.
if you use ctrl-insert and shift-insert OR the copy and paste menuitem
from the edit menu or the context menu everything is fine.
so I suspect that it's the ctrl-C keybinding that gets lost occasionally.
it's likely to be this one:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=60533
anyone seen this? anyone able to reproduce deterministically so this
could get squashed in the RC cycle ?
Edo
|
|
|
|
Re: occasional bug: copy with CTRL-C sometimes does not work [message #160915 is a reply to message #160678] |
Wed, 26 May 2004 11:36 |
Eclipse User |
|
|
|
Originally posted by: eclipse_newsgroup.canis.NOSPAM.homeip.ne
Johan Compagner wrote:
> Yes i have the same.
> But it is not really that CTRL-C doesn't work onces But it doesn't work at
> all for that text i did select. (hitting multiply times CTRL-C doesn't
matter
> reselecting that piece of text doesn't matter ect)
> It is like that some pieces/constructs the ctrl-c is disabled.
For me, it depends whether I select the text left-to-right or
right-to-left. I suspect the bug lies in either how selection start/end is
defined, or how selections are checked. IOW, the code allows a selection's
end to be before its beginning, and either this is incorrect and it should
swap the two, or this is correct and the copy shortcut is incorrectly
checking to see if end>=start.
This only seems to apply to the Java editor, not plain text editors.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03177 seconds