Open SDE-Manvendra opened 2 months ago
What happens when you run the javaFX test example?
@dorkbox Thanks for the reply.
I forgot to mention that I have set Platform.setImplicitExit(false);
, as I want to hide the stage when application is closed.
Does that make any difference? Below is the DEBUG output
Aug 05, 2024 2:32:00 PM com.sun.javafx.application.PlatformImpl startup
WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @71138b45'
14:32:02.044 [JavaFX Application Thread] DEBUG dorkbox.systemTray.SystemTray - Version 4.4
14:32:02.047 [JavaFX Application Thread] DEBUG dorkbox.systemTray.SystemTray - OS: Linux
14:32:02.048 [JavaFX Application Thread] DEBUG dorkbox.systemTray.SystemTray - Arch: amd64
14:32:02.048 [JavaFX Application Thread] DEBUG dorkbox.systemTray.SystemTray - Oracle Corporation OpenJDK 64-Bit Server VM 17.0.5
14:32:02.048 [JavaFX Application Thread] DEBUG dorkbox.systemTray.SystemTray - JPMS enabled: true
14:32:02.048 [JavaFX Application Thread] DEBUG dorkbox.systemTray.SystemTray - Is Auto sizing tray/menu? true
14:32:02.048 [JavaFX Application Thread] DEBUG dorkbox.systemTray.SystemTray - Is JavaFX detected? true
14:32:02.048 [JavaFX Application Thread] DEBUG dorkbox.systemTray.SystemTray - Is SWT detected? false
14:32:02.183 [JavaFX Application Thread] DEBUG dorkbox.systemTray.SystemTray - Java Swing L&F: Metal
14:32:02.183 [JavaFX Application Thread] DEBUG dorkbox.systemTray.SystemTray - Auto-detecting tray type
14:32:02.183 [JavaFX Application Thread] DEBUG dorkbox.systemTray.SystemTray - Force GTK2: false
14:32:02.183 [JavaFX Application Thread] DEBUG dorkbox.systemTray.SystemTray - Prefer GTK3: true
14:32:02.227 [JavaFX Application Thread] DEBUG dorkbox.systemTray.SystemTray - Currently using the 'Gnome' desktop environment
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS"
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
14:32:02.228 [JavaFX Application Thread] DEBUG dorkbox.systemTray.SystemTray - Currently using the 'ubuntu-xorg' session type
14:32:02.228 [JavaFX Application Thread] ERROR dorkbox.systemTray.SystemTray - GNOME shell detected, but UNKNOWN type. This should never happen. Falling back to GtkStatusIcon. Please create an issue with as many details as possible.
14:32:02.306 [JavaFX Application Thread] DEBUG dorkbox.jna.linux.GtkLoader - GTK: libgtk-3.so.0
14:32:02.307 [JavaFX Application Thread] DEBUG dorkbox.systemTray.SystemTray - GTK Version: 3.24.33
14:32:02.307 [JavaFX Application Thread] DEBUG dorkbox.systemTray.SystemTray - Is the system already running GTK? true
14:32:02.381 [JavaFX Application Thread] DEBUG dorkbox.systemTray.SystemTray - Tray indicator image size: 24
14:32:02.381 [JavaFX Application Thread] DEBUG dorkbox.systemTray.SystemTray - Tray menu image size: 16
14:32:02.391 [JavaFX Application Thread] DEBUG dorkbox.systemTray.SystemTray - Using Fake CheckMark: false
(java:26063): Gdk-WARNING **: 14:32:02.395: XSetErrorHandler() called with a GDK error trap pushed. Don't do that.
14:32:02.412 [JavaFX Application Thread] INFO dorkbox.systemTray.SystemTray - Successfully loaded type: _GtkStatusIconNativeTray
14:32:02.413 [JavaFX Application Thread] WARN dorkbox.systemTray.SystemTray - Please disable tooltips, as they are not consistent across all platforms and tray types.
14:32:02.413 [JavaFX Application Thread] DEBUG dorkbox.systemTray.SystemTray - Resizing image to 24 : file:/home/dev/abc.png
I tried the example from this repo and but didn't face this issue. It works initially but after 15-20 mins we face the crash issue.
Hi,
Thanks for this beautiful library. When I execute the Jar, it works for few minutes and then after sometime when I click on try-icon, the jvm crashed.
DEBUG is on but at the time of crash it doesn't print any log. Please note that I have set the GTK version to 3 as it was 't working with version 2.
System.setProperty("jdk.gtk.version", "3");
About UbuntuPlease guide and let me know if any additional information is required
Thanks