FYI: review for the java.awt.Robot#createScreenCapture fix on Wayland published on openjdk

Alexander Zvegintsev alexander.zvegintsev at oracle.com
Thu May 4 15:05:21 UTC 2023


Hi everyone,

As you probably already know, you can't take screenshots on Linux with 
Wayland using java.awt.Robot#createScreenCapture.

The proposed fix using org.freedesktop.portal.ScreenCast 
<https://flatpak.github.io/xdg-desktop-portal/#gdbus-org.freedesktop.portal.ScreenCast> 
API has been published on openjdk.

More information about this issue is available in the PRs:

https://github.com/openjdk/jdk/pull/13803 code changes.
https://github.com/openjdk/jdk/pull/13804 documentation changes.

--
Thanks,
Alexander.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/wakefield-dev/attachments/20230504/e5fb3642/attachment.htm>


More information about the wakefield-dev mailing list