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.
Summary: | When using Czech keyboard layout, I cannot enter some keys | ||
---|---|---|---|
Product: | platform | Reporter: | fordfrog <fordfrog> |
Component: | Window System | Assignee: | David Simonek <dsimonek> |
Status: | VERIFIED WONTFIX | ||
Severity: | blocker | CC: | mkrauskopf, mmirilovic |
Priority: | P2 | Keywords: | JDK_SPECIFIC |
Version: | 5.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
fordfrog
2005-11-14 10:33:27 UTC
NB5.0-Beta2 (200511131001) JDK 1.5.0_05 Linux RH9/Gnome You are right, using Slovak keyboard I am not able to write 2,3,4,5,6. Keys with other numbers work perfectly. I am able to write these numbers to any of other editors/terminals. SwingSet2 demo works well? On WinXP, everything works well for me. As usual... In SwingSet2 it doesn't work either. I use sun-jdk-1.4.2.09. I use Gentoo distribution and there isn't sun-jdk-1.5 available yet. Ok, after short investigation: - it works in JDK 6.0(b60) - it doesn't work in Notepad demo from JDK 1.5.0_06 So in my opinion it's a bug of the JDK... Yes, I found JDK bug #6225595, already fixed in JDK 1.6: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6225595 Note that in comments to the bug, there are detailed instructions hot to make czech/slovak keyboard work correctly even on earlier JDKs. Hope that will work for you. Oops, sorry, I just found that workaround steps are not visible directly from the link above, so I'm copying it here for you: ------- This bug does not appear when the keyboard definition in /etc/X11/xorg.conf is the following: Section "InputDevice" Identifier "Keyboard1" Driver "kbd" Option "AutoRepeat" "500 30" # ---- THIS IS IMPORTANT ---- Option "XkbRules" "xorg" Option "XkbModel" "pc104" Option "XkbLayout" "us,cz" Option "XkbOptions" "grp:alt_shift_toggle" EndSection Two layouts (us and cz in this case) need to be set for the keyboard to work properly. After launching X, the us layout is the default so it is necessary to switch to czech using Alt+Shift. Then Czech keyboard will work correctly in Java applications. NOTE: If the two layouts are switched in xorg.conf (Option "XkbLayout" "cz,us"), then after launching X, Czech layout will be the default. But in this case, the bug persists and the keyboard will _not_ work correctly. If there is only czech layout in xorg.conf (Option "XkbLayout" "cz"), then the bug persists as well. When using KDE as desktop environment, it is not necessary to edit xorg.conf (KDE can override xorg.conf settings). To make Czech keyboard work in KDE, it is necessary to: 1. Launch KDE Control Center 2. Choose Regional & Accessibility -> Keyboard Layout 3. Check "Enable Keyboard layout" 4. Make sure that "Czech" layout is in the "Active layouts" list - if it is not, move it there from the "Available layouts" list 5. Click on "Czech" in the "Active layout" list 6. Check "Include latin layout" checkbox near the bottom of the window 7. Click on "Apply" Czech keyboard will now work correctly in Java applications. ------ Hope that mentioned workaround will work for you. Thank you for inclusion of the workarounds. I tried the KDE workaround and it works :-) JDK issue was fixed to JDK 6.0 - verified |