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

VK_STOP key on Solaris generates wrong Key Code

    Details

    • Subcomponent:
    • Resolved In Build:
      b78
    • CPU:
      sparc
    • OS:
      solaris

      Description

      ISSUE 1:

      VK_STOP key on solaris generates VK_CANCEL key code. The bug exists in jdk 1.4 (fcs build) and Mantis b08.

      Steps to reproduce:
      1. Compile and run the attached test.java program on Solaris.
      2. Click on the frame to get the Focus.
      3. Press and release 'STOP' key.
      4. Generates key code for CANCEL(Key Code: 3, Key: CANCEL).

      Expected output:

      Should generate Key Code: 65480, Key: STOP.

      ================================================================================


      ISSUE 2:

      VK_COMPOSE key on solaris does not generate Key Pressed Event. The bug exists ob jdk 1.4 (fcs build) and Mantis b08.

      Steps to reproduce:
      1. Compile and run the attached test.java program on Solaris.
      2. Click on the frame to get the Focus.
      3. Press and release 'Compose' key.
      4. Generates just Key Released Event.

      Expected output:

      Should generate Key Pressed Event also.


      ================================================================================

      This bug (both ISSUE 1 and ISSUE 2) exists on Solaris 9 with GNOME window manager.

      ###@###.### 2002-12-04
      ================================================================================

        Activity

        Hide
        ehawkessunw Eric Hawkes (Inactive) added a comment -
        BT2:EVALUATION

        Apparently, Stop and Cancel are synonyms:
        echawkes@gradgrind:/usr/X/include/X11( 50 )% findref -i ff69
        ./Sunkeysym.h(98): #define SunXK_Stop 0x0000FF69 /* Same as XK_Cancel */
        ./keysymdef.h(126): #define XK_Cancel 0xFF69 /* Cancel, stop, abort, exit */

        And further note bugid 4432364 which explains that on a Sun system, the
        Stop key is F11. Or at least that's how my xmodmap has it (Stop is keycode 8).

        I wonder if we could disambiguate them using the X keycode?

        ###@###.### 2002-12-03

        See notes on 4734408 which mention some related issues.

        ###@###.### 2002-12-03

        Note: 4102188 also mentions the problem with the compose key, so it is very old.
        A separate bug has been filed for this issue: 4667953.

        ###@###.### 2002-12-03

        The Description says this exists in 1.4 as well, so I added a customer call record for 1.4 as well.

        ###@###.### 2003-01-10
        Show
        ehawkessunw Eric Hawkes (Inactive) added a comment - BT2:EVALUATION Apparently, Stop and Cancel are synonyms: echawkes@gradgrind :/usr/X/include/X11( 50 )% findref -i ff69 ./Sunkeysym.h(98): #define SunXK_Stop 0x0000FF69 /* Same as XK_Cancel */ ./keysymdef.h(126): #define XK_Cancel 0xFF69 /* Cancel, stop, abort, exit */ And further note bugid 4432364 which explains that on a Sun system, the Stop key is F11. Or at least that's how my xmodmap has it (Stop is keycode 8). I wonder if we could disambiguate them using the X keycode? ###@###.### 2002-12-03 See notes on 4734408 which mention some related issues. ###@###.### 2002-12-03 Note: 4102188 also mentions the problem with the compose key, so it is very old. A separate bug has been filed for this issue: 4667953. ###@###.### 2002-12-03 The Description says this exists in 1.4 as well, so I added a customer call record for 1.4 as well. ###@###.### 2003-01-10

          People

          • Assignee:
            yan Yuri Nesterenko
            Reporter:
            asamjisunw Aruna Samji (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Imported:
              Indexed: