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

XAWT: requestXFocus & requestWindowFocus methods usage should be revisited

XMLWordPrintable

    • generic
    • linux

      The XDecoratedPeer.requestWindowFocus method checks for a blocking dialog,
      while its super method doesn't. So, when a component in Window requests focus
      the check is skipped that is wrong.

      Also, the XWindowPeer.requestXFocus method (and its overloading variants)
      is used to call XWindowPeer.requestWindowFocus(int, boolean) with
      proper parameters. We have to revisit this in order to address the issue
      pointed above and to make the code clearer (having a single name for
      these methods looks better).

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

              Created:
              Updated:
              Imported:
              Indexed: