Several GTK issues on latest Ubuntu release

John Hendrikx john.hendrikx at gmail.com
Mon Oct 23 14:28:01 UTC 2023


For these I think it would be best to contact the Swing/AWT team, or 
better yet, create a bug report and then contact them; there's little 
JavaFX can do here as none of these classes are part of JavaFX.

--John

On 23/10/2023 15:05, Christopher Schnick wrote:
>
> Furthermore, while this is technically not purely JavaFX related, 
> there is also a total freeze of the platform thread when it calls 
> javax.swing.UIManager.setLookAndFeel as it gets stuck in some GTK 
> implementation method. This is called by the fxtrayicon library, which 
> calls this method here 
> <https://github.com/dustinkredmond/FXTrayIcon/blob/81c99a7357d8f48d9547c0bdb54b848041ce67c6/src/main/java/com/dustinredmond/fxtrayicon/FXTrayIcon.java#L923>. 
> Since there is no native JavaFX tray integration, calling these 
> awt/swing related methods is quite important for applications trying 
> to use the system tray. This was a very unfortunate issue for us as it 
> caused applications to not start up at all on affected systems.
> I wasn't able to compare the behavior to Ubuntu 22.04 as 
> SystemTray.isSupported() returns false on Ubuntu 22.04 but returns 
> true on Ubuntu 23.10. Should this even return true on Ubuntu now or is 
> this a bug?
>
> Again, these issues only occur on the very latest Ubuntu release. I 
> have tested on a lot of other different distros, old and new, and they 
> all worked flawlessly.
>
> Best regards, Christopher
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20231023/8e718c1b/attachment-0001.htm>


More information about the openjfx-dev mailing list