Re: RFR: 8280982: [Wayland] [XWayland] java.awt.Robot taking screenshots [v7]

2023-05-26 Thread Alexander Zvegintsev
On Fri, 26 May 2023 21:50:15 GMT, Phil Race wrote: > macos builds are broken with this change. The problem is > unix/classes/sun/awt/screencast, causing unix/classes/sun/awt/X11 to be built > but it fails because we don't (and shouldn't) generate the XAWT source on > macOS. > > You need to

Re: RFR: 8280982: [Wayland] [XWayland] java.awt.Robot taking screenshots [v7]

2023-05-26 Thread Phil Race
On Thu, 25 May 2023 16:29:39 GMT, Alexander Zvegintsev wrote: >> Modern Linux systems often come with >> [Wayland](https://wayland.freedesktop.org/) by default. >> This comes with some difficulties, and one of them is the inability to get >> screenshots from the system. >> This is because we

Re: RFR: 8280982: [Wayland] [XWayland] java.awt.Robot taking screenshots [v7]

2023-05-26 Thread Maxim Kartashev
On Thu, 25 May 2023 16:29:39 GMT, Alexander Zvegintsev wrote: >> Modern Linux systems often come with >> [Wayland](https://wayland.freedesktop.org/) by default. >> This comes with some difficulties, and one of them is the inability to get >> screenshots from the system. >> This is because we

Re: RFR: 8280982: [Wayland] [XWayland] java.awt.Robot taking screenshots [v7]

2023-05-26 Thread Alexander Zvegintsev
On Fri, 26 May 2023 15:32:41 GMT, Maxim Kartashev wrote: > Tried running this version on my machine (Ubuntu 22.04, two displays with > 100% and 200% scaling). A few observations: > > 1. I couldn't get any of the screenshot tests working through `jtreg` > (screenshots are all black, no

Re: RFR: 8280982: [Wayland] [XWayland] java.awt.Robot taking screenshots [v7]

2023-05-26 Thread Maxim Kartashev
On Thu, 25 May 2023 16:29:39 GMT, Alexander Zvegintsev wrote: >> Modern Linux systems often come with >> [Wayland](https://wayland.freedesktop.org/) by default. >> This comes with some difficulties, and one of them is the inability to get >> screenshots from the system. >> This is because we

Re: RFR: 8280982: [Wayland] [XWayland] java.awt.Robot taking screenshots [v7]

2023-05-25 Thread Alexander Zvegintsev
On Thu, 25 May 2023 16:29:39 GMT, Alexander Zvegintsev wrote: >> Modern Linux systems often come with >> [Wayland](https://wayland.freedesktop.org/) by default. >> This comes with some difficulties, and one of them is the inability to get >> screenshots from the system. >> This is because we

Re: RFR: 8280982: [Wayland] [XWayland] java.awt.Robot taking screenshots [v7]

2023-05-25 Thread Alexander Zvegintsev
> Modern Linux systems often come with > [Wayland](https://wayland.freedesktop.org/) by default. > This comes with some difficulties, and one of them is the inability to get > screenshots from the system. > This is because we now use the [X Window System >