Xenon257R / blue-archive-rainmeter

A Blue Archive themed Rainmeter suite for your Windows desktop.
MIT License
127 stars 4 forks source link

Problems with saving layout #12

Closed ramagosumt closed 1 year ago

ramagosumt commented 1 year ago

Normally when I restarted my PC, Rainmeter would remember my last settings.

However, there are several times - including the newest restart - it unloaded all of my suites and skins!

That's why I tried to save my layout in Rainmeter. One problem appeared. Rainmeter would only saved my preferences for the main hub or the sub hubs only.

  1. When I saved Rainmeter layout in the Main Hub screen, all of the Sub Hubs things went to the top left position after I loaded it to test.
  2. When I saved Rainmeter layout in the Sub Hubs screen, all of the Main Hubs things went to the top left position after I loaded it to test.

What should I do now?

Xenon257R commented 1 year ago

This could be one of 3 things, or a mix of them.

1) Are you sure Rainmeter "forgot" your layout upon closing and opening your PC again, or is the Rainmeter app itself simply not launching on startup? Unless you kept the option below checked during installation, Rainmeter will never open on computer startup. image You can identify if this setting was turned on or off by navigating to Startup Apps in your Windows Settings and see whether Rainmeter is on that list and toggled on. If this is the issue, do a re-install of Rainmeter (no uninstall necessary) and make sure that option is checked with the re-install. 2) ToggleSwitch can be funky if your computer is too - on an old device of mines, it works prematurely and calculates idle time during computer startup since shutdown for at LEAST a tick, meaning if your computer was closed for longer than 10 minutes (or whatever setting you have timeout at) it auto-triggers on computer startup. You will know that this is an issue if:

3) When you save your layout, make sure you have "Exclude Unloaded Skins" UNCHECKED. Otherwise, when you save the layout, Rainmeter will "clean" your layout configuration by removing all Skins that have Active=0 (i.e. they are inactive), and thus during those skins' first load they will have the default configuration: loading at the top left of the screen, having a Normal Position instead of On Desktop, and so forth. You need layouts to remember the settings of unloaded skins as well; otherwise, skins like AudioVisualizer will break once you switch layouts and try to use the ToggleSwitch. image If this is the issue, I recommend loading the Default Layout that the .rmskin installation came with to "reset" everything including unloaded but relevant skins to their basic configurations, and you can readjust from there.


If any of these solved your issue, please specify which one did - that would help a lot! If none of these points fixed your issue or I misunderstood it completely, please clarify so I can try and think of a different solution.

ramagosumt commented 1 year ago
  1. I'm pretty sure my Rainmeter starts every time I open my PC.
  2. I would consider my PC as one of those "high-end" PC and I had restarted my PC after everything seems unloaded after I turned on the PC, even though this won't rule out the chance of the ToggleSwitch problem.
  3. Yeah I definitely always have that exclude checked so that was my bad.
ramagosumt commented 1 year ago

I'm gonna test it in the next few days because it appears unloaded once in a while, not every time when I shut the PC down.

Xenon257R commented 1 year ago

That observation further increases my confidence in that it is issue 2), and following your explanation of your PC being on the high-end of things, I realized a possible explanation for the "strange" behavior:

I worded poorly that it takes a "funky" computer to exhibit the hidden-on-startup behavior. I am not well versed on the hardware side of things, but I recall reading somewhere that a PC when shut down doesn't actually fully shut down - with modern innovations a PC that is still receiving power has a hibernating component that allows computers to reboot extremely fast the next time it is opened. I don't know the exact keywords to search for to find a proper citation, but it just might add up - despite using a computer, I unplug the power supply after I shut down my computer, meaning my system is completely depleted of electricity and that 100% guarantees the computer is off, not sleeping at any level, especially after the night has passed. It is possible that if you keep your PC plugged in whether you're using it or not, it is preserving certain functions while off such as its internal clock while waiting for its next boot, which rolls into how ToggleSwitch "wrongly" believes your system has been idle for 10 hours instead of off. This would explain why it is happening on your high-end PC, and my low-end laptop is probably just mangled from the inside out after having gone through major repairs after 5+ years. However, as I said, I cannot properly cite my sources as I have forgotten them, so take this hypothesis with a grain of salt.

I'm also further convinced of this conclusion since you stated that "it appears unloaded once in a while", which sounds exactly like the behavior of ToggleSwitch's auto-hide feature.

ramagosumt commented 1 year ago

That might be the case! Yeah I remember I read somewhere that they decided to merge Shut Down and Hibernate so Shut Down now acts the same as Hibernate in the past. I should have had checked my top right corner to see if there was any ToggleOn button first.

Xenon257R commented 1 year ago

I will close this issue as it looks like it was indeed a hibernating system interaction with the ToggleSwitch behavior, timing out the suite after 10 minutes of inactivity.