Keyboard layout randomly changes from UK to US?

已回答

Using 6.0.2 Beta, Windows XP x64

I dont think this has anything to do with Windows - as no other applications (e.g. Firefox / Notepad) are affected when I experience this problem.

Something seems to change the keyboard layout from UK to US (so Shift-2 = @ rather than ")

Restarting IDEA fixes it until it happens again.

Any ideas?

Thanks - Ben

0
Avatar
Permanently deleted user

Not really Idea's fault, but yeah somehow Idea's shortcuts often also caused me to accidentally
activate this windows feature.
I am on a german windows so I am not sure about the button and menu labels in english:
Go to Windows' Control Panel -> Region and Language Settings -> Languages Tab ->
In the dialog that opens select the "Keyboard" button. You'll probably find that the
key combinations "alt+left-shift" switches the input setting. Just disable this.

dilator wrote:

Using 6.0.2 Beta, Windows XP x64

I dont think this has anything to do with Windows - as no other applications (e.g. Firefox / Notepad) are affected when I experience this problem.

Something seems to change the keyboard layout from UK to US (so Shift-2 = @ rather than ")

Restarting IDEA fixes it until it happens again.

Any ideas?

Thanks - Ben

1
Avatar
Permanently deleted user

I'll give it a try - it certainly looked like other programs were responding unchanged. I've removed the offending US keyboard layout just in case!

0
Avatar
Permanently deleted user

I have also this problem.

When I switch to intellij the keyboard switches language

But I don't want to disable alt-shift, it is deep habbit

What to do ?

I wrote about this bug but got no helpful response

It happens on keyboard window activation and on mouse activation

1

It can happen if you press Alt+Shift by accident. Windows has a setting to remember keyboard layout per window/application. This way it will switch automatically when you switch to IntelliJ IDEA window if you've already changed the layout inside IntelliJ IDEA by pressing Alt+Shift, either intentionally or accidentally.

2
Avatar
Permanently deleted user

In intellij I do programming only -  which means english only.

It switches to other language upon windows activation randomly and when activated my mouse as well.

It happens in android studio as well - which is the same platform.

It does not happen in any other program

0

It's unlikely that you are using the same keyboard shortcuts in other programs. So far it looks like you press a shortcut that switches the keyboard layout by accident.

0
Avatar
Permanently deleted user

In my case, press "Ctrl + Shift" changes keyboard.

Turn it off in Windows.

0

I don't know if it's the same issue or not, but I often encounter something like this. I was able to consistently reproduce it, though:

1. Set up more than two keyboard layouts. For example: US, Russian, Ukrainian.

2. Switch to the second layout while inside IDEA's editor. Practical example: typing a comment in Russian.

3. Open a popup dialog, e. g. Search Everywhere by pressing Shift twice.

4. Switch to the first layout. Practical example: searching for a file/symbol name in English.

5. Close the dialog, e. g. by pressing Esc.

6. Voila! For some reason, the layout is now switched to the third one (Ukrainian). I'd expect it to either switch back to Russian (if we consider the editor and the search dialog to be independent windows) or stay at English (if we consider the whole IDEA app a single window), but definitely not to Ukrainian!

Note that Alt+Shift is set up to switch layout (left Alt + left Shift to switch forward, left Alt + right Shift to switch backward), which is never pressed in this example except for switching layout, not even as a part of some other shortcut.

0

Sergei JBR-3785 looks very similar to what you were describing. It should be fixed in 2021.3, so if you're on earlier version, please try this one.

If 2021.3 demonstrates the same behavior, please kindly file a new issue in our tracker and provide your IDE Help | About info. Thank you!

 

0

请先登录再写评论。