This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 224008 - Can't switch source editor language back to English in sometime.
Summary: Can't switch source editor language back to English in sometime.
Status: REOPENED
Alias: None
Product: editor
Classification: Unclassified
Component: Key bindings (show other bugs)
Version: 8.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2012-12-19 05:16 UTC by pramoth
Modified: 2018-03-31 14:16 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pramoth 2012-12-19 05:16:35 UTC
Product Version = NetBeans IDE 7.2.1 (Build 201210100934)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_10
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.6-b04

I use Thai language and English in source code editor. Some time after switch language to Thai then I can't switch back to English.
If i wan't to switch to English language I need to restart Netbeans.
I use alt+Shift key to switch language.
Everyone in my team face with this problem.
I also have this problem in previous release of Netbeans since 6.x.
The problem more  likely occur if extensive switch language.
Comment 1 Milutin Kristofic 2013-01-07 17:43:06 UTC
I don't have an idea, where can be problem. Can be some key shortcut in conflict with switching keys. alt-shift is extensively used in netbeans for shortcuts.
Comment 2 Svata Dedic 2013-03-18 21:55:39 UTC
switching keyboard layouts (or languages) is out of scope of NetBeans; the operating system should (and does) capture the appropriate keys before the keystroke reaches the application.
Please check your desktop settings and check whether the Alt-shift combination is not pressed unintentionally without the 'real' key in NetBeans (which could switch the language back).
Comment 3 vee 2014-09-29 18:08:39 UTC
I have this problem too. I'm using Netbeans 8.0.1 but this happen since v7.

To re-produce bug:
1. You have more than 1 language in your OS.
2. Make sure that use left Alt+Shift to switch language.
3. Open Netbeans
4. Type some thing in these 2 languages. example Thai and English. Switch language rapidly (about 3 times or more) and many times (try to type then switch about 3-4 times or more) and you might see that it cannot switch language anymore.

Here is what i can re-product it last time.
1. type the text
2. switch thai
3. switch english
4. do 2 and 3 and 2 and 3
5. type the text
6. repeat step 4. few times
7. broke.
Comment 4 goodnickoff 2014-12-01 12:44:55 UTC
Product Version: NetBeans IDE 8.0.2 (Build 201411181905)
Java: 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b18
System: Windows 7 version 6.1 running on amd64; Cp1251; en_US (nb)

I have some problem. After some time of working in IDE language not switches. When I try to type in other editor (e.g. sublime) all works fine. Language again can be switched only after reloading IDE.
Comment 5 Ynhockey 2015-04-07 11:50:29 UTC
Same problem, this time with Hebrew.

Product Version: NetBeans IDE 8.0.2 (Build 201411181905)
Updates: Updates available to version NetBeans 8.0.2 Patch 1
Java: 1.7.0_01; Java HotSpot(TM) 64-Bit Server VM 21.1-b02
Runtime: Java(TM) SE Runtime Environment 1.7.0_01-b08
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 6 oleq 2015-10-29 09:19:54 UTC
The same bug, with russian keyboard

Product Version: NetBeans IDE 8.0.2 (Build 201411181905)
Обновления: Среда NetBeans IDE обновлена до версии NetBeans 8.0.2 Patch 2
Java: 1.7.0_71; Java HotSpot(TM) 64-Bit Server VM 24.71-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_71-b14
System: Windows 7 version 6.1 running on amd64; UTF-8; ru_RU (nb)
Comment 7 mpalasis 2018-02-14 18:01:18 UTC
6 years later this happened to me today with nb8.2 under windows 7.
I have never experienced this happening with any other software so I hesitate to blame either nb or windows. But I can report Chrome has never had this snag even though I frequently *have* to switch languages, multiple times whenever I type text.

A hint that may or may not be of interest:
Whenever I switch language in netbeans with shift-alt (instead of alt-shift) I then have to exit the alt-menu to continue typing (tap alt alone); this behavious does not occur on other software; which makes me think that windows does not intercept this keybind entirely while under netbeans.
Comment 8 mpalasis 2018-03-31 14:16:27 UTC
Reopened because: OS Language switching has changed somewhat on Windows OSes since 2013, when this was initially rejected with VERIFIED WONTFIX.

Keyboard language change in Windows 7+ is per-program and not universal which may affect ability to fix.

Please review / comment if something can be done on netbeans' side to improve behaviour and not get stuck in one language.

cheers