MegaMek / mekhq

MekHQ is a java helper program for the MegaMek game that allows users to load a list of entities from an XML file, perform repairs and customizations, and then save the new entities to another XML file that can be loaded into MegaMek.
http://megamek.org
134 stars 173 forks source link

(0.50.01) Theme Selection Does Not Stick #5188

Open SirChaos1 opened 2 weeks ago

SirChaos1 commented 2 weeks ago

Prerequisites and Pre-Issue Checklist

Severity *

Low (Minor/Nuisance): Minor glitches or cosmetic issues that don’t affect gameplay and occur rarely.

Brief Description *

Starting with the 0.50.01 snapshot, MHQ always starts up in the FlatDarcula theme, even if another theme is selected. The theme selection menu still shows the correct theme (in my case FlatLight) selected, though.

Steps to Reproduce

  1. Start up MHQ
  2. Select a light theme
  3. Exit MHQ
  4. Start up MHQ again

Operating System *

Windows 10

Java Version *

Java 17

MekHQ Suite Version *

Free Text (type manually)

Custom MekHQ Version

0.50.01

Attach Files

No response

Final Checklist

SirChaos1 commented 1 week ago

Update: Now that´s I´ve played a campaign for a couple of hours (and a couple of months of in-game time), the theme selection does stick, for some reason. So, problem solved for now.

IllianiCBT commented 6 days ago

So, I don't believe the theme will save if the client is terminated, rather than closed normally. I know I've been caught out by that a few times. Is it possible that's what's happened here?

cmpederson commented 5 days ago

I have been playing 50.1 since release and my theme selection does not stick even after hours of use. Whenever I restart it will show that Light is the theme selected but the appearance is one of the darker themes. Screenshot 2024-11-20 140459

SirChaos1 commented 5 days ago

I have no idea what exactly made the difference that one time where the selection stuck, and I don´t really want to experiment because I´d hate to be stuck with a dark theme again.

I know that, the times before the selection stuck, I did not advance time on the campaign - so maybe the weekly autosave has something to do with it?

@cmpederson that´s exactly what it looked like for me, too.

@IllianiCBT by "terminate" you mean close it by clicking on the X in the upper right corner instead of using the Exit item in the File menu? I´ve always closed MHQ with the X, pretty much since version 0.1.8 when I started using MHQ, and it never had any impact on theme selection sticking.

cmpederson commented 1 day ago

Here is my save and customs.

CMP-customs.zip Autosave-1-The Frostborn-30250612.cpnx.gz