Code Reformat - CTRL ALT L doesnt work under Win 2K

EAP 992
Windows 2K
JDK 1.4.2

The code reformat shortcut CTRL-ALT-L doesnt trigger the reformat.
Selecting:
Tools-->Reformat Code
does work though.

This does work under Solaris 8 though.

Any chance of 995? Its got so many bug fixes in it....

Nick

10 comments

I am using this feature on both win 2k and xp. it does work. Please check if some windows program has set a windows system global hotkey to ctrlaltl.

0

Works fine for me: b992, j2se1.4.2_02/03, W2k

0

Thats what I first assumed, so I removed all the plugins, and restarted. Then I checked my task list, and there's nothing out of the ordinary running in there as far as I can see.

It works at home as well under Windows XP.

Nick

0

One thing I noticed in Windows is that if you assign a hotkey to an
icon shortcut (say one on the desktop), deleting that shortcut before you
remove the hotkey will make it impossible for you to assign that hotkey
again (somehow Windows thinks it's still assigned). I haven't figured out
how to "recover" the hotkeys once you've deleted the shortcuts they're
assigned to (short of reviving the shortcuts if they're still in the trash).

In order to see if the CtrlAltL is used by Windows (for real or just
blocked), try assigning it to any shortcut on the desktop. If you succeed,
it migh be that you have to look inside IDEA for a solution. If not, it
means Windows does not pass that hotkey combination on to IDEA (or any
other active window), but it rather tries to process it itself.

If the hotkey is not bloked by Windows, try assigning it to any other
action in IDEA and see who IDEA reports it belonging to (I've encountered
cases when a hotkey was a shortcut for more than one action, which
prevented it from running. Not sure how that happened, though, I think it
was when one of the plugins set its hotkeys over some custom combinations
of mine). Assigning it to another action (this will remove it from all the
previous assignments, if more than one) and then back to the desired one
should fix your thing (it worked for me when I needed it).

HTH,
Andrei


On Sat, 13 Dec 2003 17:24:38 +0000, Nick Pratt wrote:

Thats what I first assumed, so I removed all the plugins, and restarted.
Then I checked my task list, and there's nothing out of the ordinary
running in there as far as I can see.

It works at home as well under Windows XP.

Nick


0

I had this same problem, but found that on my Dell, the Intel graphics driver by default is running global hotkeys and it intercepts Ctrl-Alt-L (even though it doesn't display what it's used for). Turning off hotkeys in the Intel Graphics control panel fixed it for me. If you have integrated video on an Intel 815 based board, then it might be the culprit.

Thanks,
Patrick

0

Excellent!

We all had our machines upgraded at work and could no longer use, Ctrl-Alt-(L, I, O, Left, Right, Up, Down).
I ended up adding extra mappings for Ctrl-Alt-Shift-blah.

Turning off hotkeys does seem to have fixed the problem (though for some reason it took about a minute to take effect...)

Thanks.

0

That bring me back to an request I earlier posted: may we get a "revers"
list of assigned short cuts? Means I like to sort/filter the key map
by assigned short cut. This would help to identify duplications. I know
IDEA warns before I'm able to register a duplication, but I have no
change to detect them after (or if its came with by a plugin).

Sven

Andrei Oprea wrote:

One thing I noticed in Windows is that if you assign a hotkey to an
icon shortcut (say one on the desktop), deleting that shortcut before you
remove the hotkey will make it impossible for you to assign that hotkey
again (somehow Windows thinks it's still assigned). I haven't figured out
how to "recover" the hotkeys once you've deleted the shortcuts they're
assigned to (short of reviving the shortcuts if they're still in the trash).

In order to see if the CtrlAltL is used by Windows (for real or just
blocked), try assigning it to any shortcut on the desktop. If you succeed,
it migh be that you have to look inside IDEA for a solution. If not, it
means Windows does not pass that hotkey combination on to IDEA (or any
other active window), but it rather tries to process it itself.

If the hotkey is not bloked by Windows, try assigning it to any other
action in IDEA and see who IDEA reports it belonging to (I've encountered
cases when a hotkey was a shortcut for more than one action, which
prevented it from running. Not sure how that happened, though, I think it
was when one of the plugins set its hotkeys over some custom combinations
of mine). Assigning it to another action (this will remove it from all the
previous assignments, if more than one) and then back to the desired one
should fix your thing (it worked for me when I needed it).

HTH,
Andrei


On Sat, 13 Dec 2003 17:24:38 +0000, Nick Pratt wrote:

>>Thats what I first assumed, so I removed all the plugins, and restarted.
>>Then I checked my task list, and there's nothing out of the ordinary
>>running in there as far as I can see.
>>
>>It works at home as well under Windows XP.
>>
>>Nick


0

So it was Intels hot key stuff from my graphics driver (thanks for the suggestion to look at this), although it didnt have anything specifically mapped for ctrl-alt-L(just 4 function keys were mapped), after killing it, the code reformat came back.

Thanks again

Nick

0

Yeah, it really bothered me that there wasn't am mapping for it in Intel's list. The only way I even got there was that I noticed Ctrl-Alt-Down switched the orientation of the screen (it flipped it). Once I saw that happen, I started digging into the Video prefs. Glad it solved your problem.

Thanks,
Patrick

0

Please sign in to leave a comment.