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

InputMethod turned off when menu was opened

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.2.0
    • client-libs



      Name: clC74495 Date: 06/29/99


      JDK1.2, Japanese Solaris2.6

      When a menu is opened, the InputMethod is deactivated.
      That can be confirmed on SwingSet.
      The process of confirmation is shown below.

      1. Start SwingSet demo in jdk1.2/demo/jfc/SwingSet.
      2. Select PlainText Tab.
      3. Activate the InputMethod, and Input something to JTextArea.
      4. Click a menu from menu bar (The menu list is opened.),
         and click it again (The menu list is canceled.).
      5. Now, the InputMethod is deactivated.

      Because all components share one InputContext,
      I think all components should not affect the status
      of InputMethod(InputContext).
      I looks like that the changing of forcus causes
      deactivation of InputContext.
      If someone wants to hold the different status as each
      TextComponent, he may override the components' getInputContext()
      method as they return their own InputContext.
      (Review ID: 84894)
      ======================================================================

            nlindenbsunw Norbert Lindenberg (Inactive)
            clucasius Carlos Lucasius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: