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

Since JDK 6.0 in XAWT, Ctrl+ascii letter results in KEY_TYPED ascii letter, not control char

XMLWordPrintable

    • b09
    • x86, sparc
    • linux, solaris
    • Verified

        Since fix to 4360364 in JDK 6.0, XAWT, pressing of Ctrl+ascii letter stopped to produce unicode control characters like Ctrl+a --> 0x01 etc. Instead, under XAWT, we receive KEY_TYPED with Unicode of the pressed ascii character and modifier Ctrl.

        For certain applications it may be better to receive such pair because it could resolve ambiguity like one in 6494868. However older releases of JDK on all platforms fire KEY_TYPED with control characters, so we should treat this change as regression.

              yan Yuri Nesterenko
              yan Yuri Nesterenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: