RFR: 8348675: TrayIcon tests fail in Ubuntu 24.10 Wayland [v2]

Alexander Zvegintsev azvegint at openjdk.org
Tue Jan 28 18:40:00 UTC 2025


> Several TrayIcon tests are trying to click on the system tray icon with Robot using XTest API.
> 
> Basically we have the same kind of failures as before, e.g. [JDK-8280990](https://bugs.openjdk.org/browse/JDK-8280990)
>>  the reason is this is using XTEST, an X11 protocol which will not work outside of X11.
>>
>> In other words, the emulated input event reaches the X11 clients, but not the Wayland compositor which is the actual display server but also the X11 window manager in Wayland, the component which is in charge of moving/resizing/stacking the windows. 
> 
> I also tested the same tests by clicking manually instead of using the robot, and it works as expected.
> So for now, skip those tests on Wayland (and do some minor cleanup).
> 
> Testing after modifications is also green.

Alexander Zvegintsev has updated the pull request incrementally with two additional commits since the last revision:

 - minor
 - review comments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23329/files
  - new: https://git.openjdk.org/jdk/pull/23329/files/71ea490d..f859c790

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23329&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23329&range=00-01

  Stats: 103 lines in 4 files changed: 52 ins; 46 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/23329.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23329/head:pull/23329

PR: https://git.openjdk.org/jdk/pull/23329


More information about the client-libs-dev mailing list