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

SwingUtilities.updateComponentTreeUI corrupts focus logic for JPopupMenu.

    XMLWordPrintable

    Details

      Description

      After call to SwingUtilities.updateComponentTreeUI(for JFrame) JPopupMenu stops receive keyboard events which can be processed by the component, which was focus owner before JPopupMenu become visible.

      Reproducible on linux. (I tested on Oracle Linux 6.2 x64)
      On Windows - not reproducible.

      See attachment source.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              scfitch Stephen Fitch
              Reporter:
              ampopov Alexander Popov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: