Bug 40471 - New copy line feature doesn't work for me
Summary: New copy line feature doesn't work for me
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2003-07-18 10:40 EDT by John Arthorne CLA
Modified: 2007-06-22 10:04 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2003-07-18 10:40:29 EDT
Build: I20030717 (23:59)

I have tried to use the new copy line feature (Ctrl+Alt+Arrow up or down), but
it has never worked on my machine (I've tried in the last several builds).  It
just seems to have no effect.  Move line (Alt+Arrow up/down), works fine.  I
have tried it with a brand new workspace, and with my existing workspace, with
no luck. I have tried other Windows 2000 machines in the lab and it works fine
there.

This will probably just be marked "worksforme", but I wanted to log it in case
anyone else is seeing it.  If you can suggest somewhere to set a breakpoint, I
can try debugging it a bit myself.
Comment 1 Tom Hofmann CLA 2003-07-18 10:54:03 EDT
strange... you could always check whether there is a key-binding problem. If the
action gets invoked at all, it should come by MoveLinesAction.run(). Otherwise,
(you've probably done that already, but just to make sure) check if there are
any conflicts in the keybinding preferences. 

(MoveLinesAction comes in two flavors: moving lines or copying lines...)

Comment 2 John Arthorne CLA 2003-07-18 11:27:28 EDT
The event isn't getting through to your action.  There must be a problem either
in the accelerator processing code or SWT.  I suggest moving to platform for
further investigation... they can bother me directly for more details.

It's not just a matter of conflicting keybindings.  I tried it on a new
workspace (all default bindings), and it still didn't work.
Comment 3 Tom Hofmann CLA 2003-07-18 11:58:57 EDT
You might want to check if you have any windows tools installed that could
consume the keybinding upfront. Ctrl+Alt+... combinations are not unlikely to be
used by some window / multimonitor etc. switch feature.

What happens if you transfer the keybinding to something else (Ctrl+9 or so) -
does it work then?

(Key Binding Prefs->Text Editing->Copy Lines / Duplicate Lines)
Comment 4 John Arthorne CLA 2003-07-18 12:34:53 EDT
Yes, it works with another keybinding (I used Ctrl+Alt+9). I just have a pretty
standard windows install, I can't think of anything... I'll play around with it
a bit more.
Comment 5 Dani Megert CLA 2004-09-22 11:46:07 EDT
John, does this work now? Maybe you see bug 71539?
Comment 6 John Arthorne CLA 2004-09-22 12:26:09 EDT
I suspect it is something similar to that bug. I still cannot assign
Ctrl+Alt+Down to any command, and it doesn't work for copy line. I agree with
the theory that Windows or some driver is stealing the key binding, although it
doesn't have any effect when I press it.  I am running an IBM PC (not Dell as in
bug 71539)... if this is common it might be worth choosing a different default
binding (if you can find one ;) Otherwise, ok to close.
Comment 7 Dani Megert CLA 2004-09-22 12:30:09 EDT
Setting to REMIND until we have more data
Comment 8 Dani Megert CLA 2007-06-22 09:59:41 EDT
Get rid of deprecated state.
Comment 9 Dani Megert CLA 2007-06-22 10:04:51 EDT
.