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

XIM cannot filter X events other than XKey* events from Java text AWT

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.2.2
    • CPU:
      generic
    • OS:
      solaris_7

      Description

      On solaris platform, XIM cannot filter ButtonPress, ButtonRelease, MotionNotify,
      or Expose events from java awt textfield or textarea widgets.

      This is necessary for input method for some European locales of Solaris7,
      including ru(Russain) and en_US.UTF-8, where input method is located
      locally in Xlibrary and a single xevent dispatch loop is shared between the
      application and the Xlibrary. Unless these events are filtered, the input
      method cannot display the status area, nor cannot use mouse at all
      to select a choice on lookup choice window.

      To reproduce the problem, build a sample java.awt.textarea application
      attached, and run it in en_US.UTF-8 locale of Solaris2.6 or 7.
      No text appears in the status area, while it shows something like
      "[English/European]" in it with any Motif text widget application.

      This is because no Xexpose events is sent from java awt to XtDispatchEvent.






        Attachments

          Issue Links

            Activity

              People

              Assignee:
              okutsu Masayoshi Okutsu
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: