constellation-app / constellation

A graph-focused data visualisation and interactive analysis application.
https://constellation-app.com
Apache License 2.0
386 stars 58 forks source link

Duplicate FlatLAF Dark Option #2134

Open capricornunicorn123 opened 3 months ago

capricornunicorn123 commented 3 months ago

Prerequisites

Description

Currently the act of setting FlatLAF Dark as the default LAF appears to be causing a duplicate LAF option. This issue only appears when opening the application after a fresh clean and build and I am unsure if it is an issue in the releases. I'm assuming that if the user does not have a preferred option the application sets the default to FlatLAF Dark and in doing so, unintentionally ads FlatLAF Dark to the list of options.

image

Steps to Reproduce

  1. Do a full Update, clean and build.
  2. Open the appearance options
  3. Note the duplicated FlatLAF Dark option
  4. Select a new LAF option
  5. Restart the application
  6. Open the appearance options.
  7. Note the duplicated FlatLAF Dark option has disappeared.

Expected behaviour: No duplicate options

Actual behaviour: FlatLAF Dark is duplicated on first open

Reproduces how often: Whenever the application is opened for the first time