dustinkredmond / FXTrayIcon

Tray Icon implementation for JavaFX applications. Say goodbye to using AWT's SystemTray icon, instead use a JavaFX Tray Icon.
MIT License
324 stars 25 forks source link

Clicking two time on Tray icon show empty stage? #64

Closed ctoabidmaqbool closed 1 year ago

ctoabidmaqbool commented 1 year ago

Hi! When left double clicking on TrayIcon with this library then empty stage / window is showing, However in simple AWT codding no such things happens until we set such functionality.

dustinkredmond commented 1 year ago

Could you please provide a minimal, reproducible example of the code that exhibits this behavior as well as the code using raw AWT that does not cause this issue?

dustinkredmond commented 1 year ago

I'm curious as to whether this behavior is present if the StageStyle is UNDECORATED. E.g:

stage.initStyle(StageStyle.UNDECORATED);
ctoabidmaqbool commented 1 year ago

@dustinkredmond This is an example which use this lib and have an issue e.g. when double clicking on Tray icon empty stage is opened; RunnableTest.java.txt

This one is crated with simple AWT codding without using any external libs RunnableTestAWT.java.txt

dustinkredmond commented 1 year ago

Sorry for the delay. I see the issue now. I will release a fix for this in version 4.0.0, scheduled for release later on this evening.