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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.1.4
    • Fix Version/s: 1.1.4
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.1.4
    • CPU:
      x86
    • OS:
      windows_nt
    • Verification:
      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

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: