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

Java allows focus requests to an invisible component

    XMLWordPrintable

Details

    • b45
    • generic
    • generic

    Description



      Name: dmR10075 Date: 03/05/2004


      As outlined in 4987532, requestFocusHelper allows requests for
      invisible components. This causes problems on native level that denies
      such requests and focus system goes into an unstable state and making
      Java unusable. However, the fix for 4987532 has caused the test
      AppletInitialFocusTest1 to fail. This reveals the backward
      incompatibility that the fix for 4987532 has introduced - it should be
      allowed sometimes to request focus for invisible components since
      prevously users were doing that often.

      The documentation should be updated stating that users are not allowed
      to request focus for a recursively invisible component(if any of the
      parents except of may be the window are invisible). The implementation
      of requestFocusHelper should be updated according to the documentation.
      The implementation for AppletPanel should be updated to allow requests
      from invisible applets. The test AppletInitialFocusTest1 should be
      modified.
      ======================================================================

      Attachments

        Issue Links

          Activity

            People

              dmikhalksunw Denis Mikhalkin (Inactive)
              domsunw Dom Dom (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: