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

XAWT: requestXFocus & requestWindowFocus methods usage should be revisited

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      linux

      Description

      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).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ant Anton Tarasov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported:
                Indexed: