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

1.1.4G regression: MOUSE_PRESSED events now result in undesired requestFocus()

    XMLWordPrintable

Details

    • 1.1.4
    • x86
    • windows_nt
    • Verified

    Description



      Name: sg39081 Date: 08/19/97


      In JDK 1.1.4G -
      For some reason, Component.dispatchEventImpl now contains the
      following lines of code:
      case MouseEvent.MOUSE_PRESSED:
        requestFocus();
        break;
      Before, this code was commented out (and the commented-out code
      first checked isFocusNavigable())
      I've got no idea why anyone would add this code, and I wish
      they hadn't - it causes massive problems with many of our
      lightweight components. Even components that never want to
      take focus are now taking the focus when clicked on.
      This is a massive 100% showstopper.

      company - Oracle , email - ###@###.###
      ======================================================================

      Attachments

        Activity

          People

            busersunw Btplusnull User (Inactive)
            sgoodsunw Sheri Good (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: