FlatLAF is breaking JOSM
See original GitHub issueThe FlatLAF plugin for JOSM directs me to https://www.formdev.com/flatlaf/ for further info, which directs me to here. Please tell me where to go, if this is not the right place.
What I do:
- Install FlatLAF in JOSM
- Restart JOSM (which works fine)
- Select the FlatLaf Darcula theme
- Restart JOSM (or so I thought)
Expected behavior:
JOSM coming back from restart
Actual behavior:
JOSM does not restart and I am not able to start it manually again. It just dies within one second from launching, not even showing the loading box.
Workaround:
- Start JOSM with the
--skip-plugins
parameter like this (in Windows):%JAVA_HOME%\bin\javaw.exe -jar josm-tested.jar --skip-plugins - JOSM starts up
- (just an unimportant side note: Weirdly enough, with some alternative theme loaded. If I close JOSM and start it a second time with the
--skip-plugins
parameter, it will load the default JOSM theme. No big worries, we don’t have to restart it such a second time for the solution to work)
- (just an unimportant side note: Weirdly enough, with some alternative theme loaded. If I close JOSM and start it a second time with the
- Close JOSM.
- Start JOSM normally (without the --skip-plugins parameter)
- Uninstall FlatLAF
Context:
JOSM Version 18583
Same problem occurs on a completely newly installed JOSM without any cache, preferences, plugins.
I am using the JOSM parameters -Djosm.home=.
-Djosm.pref=./preferences
-Djosm.cache=./cache
as documented here, as I want to have those close by and my JOSM as a stand alone application
Issue Analytics
- State:
- Created 10 months ago
- Comments:6
Top Results From Across the Web
19027 (FlatLaf dark and light look and feels) - JOSM
FlatLaf is a new modern open-source L&F that looks similar to Darcula/IntelliJ themes you maybe know from IntelliJ IDEA. It comes with dark...
Read more >Josm, what a tool! : r/openstreetmap - Reddit
FlatLAF is breaking JOSM ! What I do: Install FlatLAF plugin in JOSM. Restart JOSM (which works fine). Select the FlatLaf Darcula theme....
Read more >FlatLaf - Swing Look and Feel (with Darcula/IntelliJ ... - GitHub
FlatLaf is a modern open-source cross-platform Look and Feel for Java Swing desktop applications. It looks almost flat (no shadows or gradients), clean,...
Read more >lp:~openstreetmap/josm/josm_osm - Launchpad Code
Get this branch: bzr branch lp:~openstreetmap/josm/josm_osm ... flatlaf: fix broken dark themes (since updating FlatLaf from 1.6.1 to 2.6).
Read more >JOSM: Use FlatLaf dark and light look and feels?
Hello,. I'm the author of the FlatLaf look and feel and wanted to ask whether the JOSM community is interested in using FlatLaf...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The issue is fixed in JOSM flatlaf plugin version 36036.
@tsmock Inside JOSM, where you install plugins, you’ll find the JOSM FlatLaf plugin listed as shown here:
The link leads directly to https://www.formdev.com/flatlaf/, misleading one to:
Hence the situation we are now in, that I reported the bug to FlatLaf, while the error was in the JOSM FlatLaf plugin, bothering the upstream developer.