Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8015288

Fourth layer of neo keyboard layot not working in java programs

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: 7, 7u21
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
      None

      Description

      FULL PRODUCT VERSION :
      java version " 1.7.0_21 "
      Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
      Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Linux panther 3.9.2-1-ARCH #1 SMP PREEMPT Sat May 11 20:31:08 CEST 2013 x86_64 GNU/Linux

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      The neo keyboard layout is used: http://neo-layout.org

      A DESCRIPTION OF THE PROBLEM :
      I am using the Neo Keyboard Layout on a Arch Linux machine. The layout is shipped with major distributions / desktop environments. In programs that are using Swing the following error appears:

      Pressing the key " Alt Gr " or " < " on qwertz keyboards (right to the left shift key, which is smaller on qwertz keyboards) usually produces layer 4 of the keyboard layout. This layer gives navigation keys or a numpad directly on the main part of the keyboard. In Android Studio the navigation keys do not work propperly. Pressing " Alt Gr " + " E " moves the screen view upwards instead of moving the input cursor upwards. The other keys e.g. the num keys work as expected.

      According to the neo bugtracker the bug lies in the use of Swing as GUI which uses AWT for X-Windows events. The key-codes are not handled propperly.

      The following comment in the AWT code might point to the problem:
      // we only need primary-layer keysym to derive a java keycode.

      This bug has been also discussed in the Neo Bug tracker:
      http://wiki.neo-layout.org/ticket/129


      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Activity

            People

            • Assignee:
              azvegint Alexander Zvegintsev (Inactive)
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: