Dark mode for Ignition 8.3 Designer

Dark mode now works inside Vision, and I'm looking for Vision developers to test it.

In the previous version the module switched itself off as soon as you opened a Vision window, because a window saved from a dark Designer picked up classes a Vision client cannot load. Since the latest version that is fixed at the serialiser. Please use version 0.4.1. If you have bugs post it here or create a github issue.

One known limitation: the Vision canvas renders in dark colours in the Designer wherever components use the look-and-feel defaults; the client is always light. Nothing is written into the window by that.

Version 0.6.0 adds support for Ignition 8.1.33+. Thanks to @ott.andrew33, it also supports Maker Edition.

The licence text has changed so the gateway will ask you to accept it again when upgrading.

Download the file for your gateway:

  • designer-dark-mode-8.3.modlfor 8.3
  • designer-dark-mode-8.1.modlfor 8.1.33+

Copy and Paste key shortcuts seem to be broken for objects in the Project Browser when Dark Mode is enabled. I tried copying and pasting a Named Query as well as a Script and neither worked with key shortcuts. I had to Right Click Copy & Paste.

I am using Designer Launcher v1.3.7 and Gateway v8.3.7, for reference.

Additionally, our company currently does a lot of Vision projects, so I will try to get some feedback for you on Vision compatibility.

@john.mullins
Thank you for your feedback.

I have verified and fixed the bug in version 0.6.1.

It works on my Mac. Can you verify it on your end?

Vision feedback would be very welcome. Thanks for testing it!

I'm sure it's because both the Designer and Vision components are built using Swing, and so any change to the LaF would affect Vision.

I think they should task Claude with translating the Designer into JavaFX, which is capable of embedding Swing components.

I recall a discussion at ICC (Carl?) where a side comment pointed out that JavaFX has other problems that disqualified it for both the designer and Workstation. I didn't catch the details, sorry, but maybe someone will pipe up?

Whatever those problems are aside, Swing isn't the issue here. Swing is fine.

The answer to "why can't we..." in the Designer is often "because Vision...". A lot could be different if Vision wasn't in the picture.

Amusingly, Perspective Workstation was originally implemented in JavaFX entirely and we swapped it to Swing at some point because it was causing various issues.

JavaFX is not any kind of free lunch. Migrating hundreds of thousands of lines of Swing code we've built up over two decades into a new GUI system sounds like an absolute nightmare, no matter how much Claude we throw at the process.

Disagree. I would argue that it is our "love for Vision" that prevents us from doing this FlatLaf swap ourselves.

I really like this module, but unfortunately for my ignition versione (8.3.10) cause problems and a lot of error in the console.

I decided to uninstall the module, hope one day will work correctly.

I tested with windows 11

Can you tell me what errors and problems you have?

I will look into the issues if I know where to look.

Can you share the following:

  1. Which module version? (Tools → About Designer Dark Mode, or the .modl file name)
  2. The file C:\Users\<you>\.ignition\designer-dark-mode.log. It starts with a block about your setup and records what the module did.
  3. The first error or two from the Output Console, with the full stack trace.
  4. What you had open when the errors started: Vision windows, Perspective views, a specific editor?
  5. Do you also have the dark mode script from the Exchange installed?

What would that have to do with it? The exchange script doesn't touch the look and feel.

I'm not entirely sure if it would cause issues. I have not tested enough what would happen if both were installed. It certainly not an accussation. I would just like to dig into stefano's issues and rule out that possibility.