On 5/9/16, 9:39 AM, Erik De Rijcke wrote:
Hi,

Are there any known limitations on the gtk3 backends (html5, wayland, ...) that 
could be used?
In short - no, but do tell if you find some :-)

The problem before was that you can't mix GTK2 & 3 in the same application, so SWT 
for example that is using GTK3 would crash and burn. With the addition of dynamic loading 
of GTK we can at least avoid that issue - at least as long as you tell the app which 
version to use. I have a task to investigate detecting if a version is already in use 
<https://bugs.openjdk.java.net/browse/JDK-8156491>, but that has some portability 
issues and might not make the final product. I am not aware of any reason why there would 
be an issue - unless there is something with the GTK event loop.

Let me know if you give it a try.

Dave

regards,

Erik

On Mon, May 9, 2016 at 3:18 PM, David Hill <david.h...@oracle.com 
<mailto:david.h...@oracle.com>> wrote:


    I added a new feature Friday and would like some help testing it.

    This new feature (8087516: Conditional support for GTK 3 on Linux) allows 
us to use either GTK v2 or 3 with JavaFX.

    The default has not changed - we will use gtk 2 by preference.

    The help I need is for anyone doing testing on Linux with the current tree 
- like todays sanity testing. Adding

    -Djdk.gtk.verbose=true

    should output the version detected and used. I would appreciate a paste of 
that along with the OS version.

    -Djdk.gtk.version=3

    toggles the preferred version to GTK 3. Testing using that toggled would 
also be appreciated, along with a note to me with the OS version.

    thanks!

-- David Hill<david.h...@oracle.com>
    Java Embedded Development

    "A man's feet should be planted in his country, but his eyes should survey the 
world."
    -- George Santayana (1863 - 1952)




--
David Hill<david.h...@oracle.com>
Java Embedded Development

"A man's feet should be planted in his country, but his eyes should survey the 
world."
-- George Santayana (1863 - 1952)

Reply via email to