RFR: 8280861: Robot color picker broken on Linux with scaling above 100%
Phil Race
prr at openjdk.java.net
Thu Feb 10 22:32:08 UTC 2022
On Thu, 10 Feb 2022 18:16:29 GMT, Maxim Kartashev <duke at openjdk.java.net> wrote:
>> src/java.desktop/unix/native/libawt_xawt/awt/gtk3_interface.c line 2874:
>>
>>> 2872: }
>>> 2873:
>>> 2874: static gboolean gtk3_get_drawable_data(JNIEnv *env, jintArray pixelArray,
>>
>> Don't we need to do the same for the gtk2? I suggest to update one of the test below to cover gtk_robot on/off for both gtk2/gtk3.
>
> Maybe not as the previous fix was mode for gtk3 only, but I can double-check. Do you know if MATE desktop environment is a good candidate for finding gtk2 or are there easier options on Ubuntu?
I have no idea what MATE is but if you are saying you have a recent Ubuntu and you don't have GTK2, I am at least 95% sure GTK2 is still available from Ubuntu package manager for all current releases.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7425
More information about the client-libs-dev
mailing list