JDK-8020148 : SwingUtilities.updateComponentTreeUI corrupts focus logic for JPopupMenu.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6u31
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: linux
  • Submitted: 2013-07-09
  • Updated: 2017-05-19
  • Resolved: 2017-05-19
Related Reports
Relates :  
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.
Comments
No plans to fix. Reopen, or file a new issue if there's a concern.
19-05-2017

Pending sustaining
10-07-2013

Swing_JPopupMenu/Automated/CCC4371580
09-07-2013

Bug is specific for jdk 1.6 and earlier. Not reproducible on 7.
09-07-2013