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

Regression : Focus painting lost after a JFileChooser is opened when using X forwarding

XMLWordPrintable

    • x86
    • linux

      SYNOPSIS
      --------
      Focus painting lost after a JFileChooser is opened when using X forwarding

      OPERATING SYSTEM
      ----------------
      Linux (tested with RHEL 5.1)

      FULL JDK VERSION
      ----------------
      JDK 7 (tested with b140)
      Not reproducible with Java 6

      DESCRIPTION
      -----------
      When running a Swing GUI via a remote X session, the focus painting is lost after a JFileChooser has been opened. We suspect this is not specific to JFileChooser - it is probably reproducible with other dialogs as well.

      REPRODUCTION INSTRUCTIONS
      -------------------------
      NOTE: This happens only when we export DISPLAY with X11 forwarding (it is not reproducible on a local display or via VNC)

      1. Run SwingSet2 demo
      2. Go to JFileChooser demo
      3. Click on the Show Plain JFileChooser button
      4. Close the JFileChooser
      5. Now go to another demo, for example the JList demo
      6. Click on any check box there, and you can see that the focus doesn't
         get painted.
      8. Try navigating using TAB - you will not be able to see where the
         focus is

            ant Anton Tarasov (Inactive)
            dkorbel David Korbel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: