[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    RFR: 8169474: KeyCharTest: Wrong number of key events: 0
From:       Alexander Zuev <kizune () openjdk ! java ! net>
Date:       2021-10-28 17:11:25
Message-ID: 1fyY3RSMw8l0Xjcq3JFZ88qM7ert_bmJcnXPuW9qmNw=.09e8d110-40bd-4654-a268-40033ab93340 () github ! com
[Download RAW message or body]

When i reproduced the test failures locally on Ubuntu 18 it seems like AWT Frame
that appeared on the screen had not received focus and keyboard events went to the
Window Manager which ignored them for having no meaning in the current context.
Added explicit toFront and requestFocus calls so window gets focused.

-------------

Commit messages:
 - 8169474: KeyCharTest: Wrong number of key events: 0

Changes: https://git.openjdk.java.net/jdk/pull/6161/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6161&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8169474
  Stats: 34 lines in 2 files changed: 25 ins; 5 del; 4 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6161.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6161/head:pull/6161

PR: https://git.openjdk.java.net/jdk/pull/6161
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic