Splash screen of Java application stuck with "assign [class=...]" #5985
-
I have default i3 config with one line added:
FreeMind is a Java application, which is working with Java 11 only. When $ws3 is active, everything is OK. Splash screen appears, splash screen disappears, main application window appears. When $ws3 is not active (not shown on the screen) the strange thing happens. When I go to $ws3, I see two windows: one with splash screen (can't be closed even with $mod+Shift+q), and the second is main application window. I had very little Java experience years ago, so maybe you have ideas or suggestions on what is going on?. Just in case, both splash screen and main window have the same The program is open sourced, so I think I'll end up with disabling splash screen. But maybe there is better solution? Edit: Maybe somehow related: #5020 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Not the answer: I would look into freeplane, which is a fork of freemind, but it is maintained. Freemind has been 10 years without maintenance, whereas free plane is receiving updates. |
Beta Was this translation helpful? Give feedback.
-
Can you check of the splash screen has a title? For example, with the Garmin SDK I do things like this:
You could probably do something like this too? |
Beta Was this translation helpful? Give feedback.
Make splash screen floating is nice, but it still does not solve the original issue: if the target workspace is not shown — then splash screen becomes noncloseable nice floating window.
By the way, I've tested with the latest source (November 2023) and the latest Java (22), so it's definitely not a Java bug, but an issue of the FreeMind itself (yes, Freeplane does not have this problem).
Finally I have a workaround that satisfies me — a tiny shell script:
The idea is pretty simple — switch to the workspace at first, then start the application.
In theory, it should be possible in one line, something like
i3-msg 'workspace ...…