<AWT Dev> Taking screenshots on x11 composite desktop produce wrong result

Semyon Sadetsky semyon.sadetsky at oracle.com
Wed Apr 6 10:50:42 UTC 2016

Hello Mario,

Seems X11 call would be the best solution for AWT Robot screenshots 
under Linux. I'm ready to approve it as a default solution.
But it seems to me better to preserve the current GTK dependent code as 
a kind of alternative solution for platforms where GTK is better 
supported. Is it reasonable for you?


On 4/6/2016 1:16 PM, Mario Torre wrote:
> On Tue, Mar 8, 2016 at 1:21 PM, Mario Torre <neugens at redhat.com> wrote:
>> Hi Sergey,
>> Here is a proposed fix for JDK9, it removes the dependencies on GTK
>> and use only X11 calls:
>> http://cr.openjdk.java.net/~neugens/8150954/webrev.02/
>> I only tried this on a RHEL 7.2 so far but it seems to compile and
>> work as expected, and doesn't require to regenerate the configure
>> machinery either.
> Hi Sergey,
> Do you have any feedback on this patch, should we proceed pushing it
> to JDK9 and then do the backport or do you prefer to get this only to
> 8u?
> Cheers,
> Mario

More information about the awt-dev mailing list