Admin UI: Theme not respected after logging-in from timeout

Description

If the WebUI is allowed to timeout, and the login form loads (more on that later), upon logging in, the selected theme is “partially” respected.

Observed behaviour:

  • My theme is set to Paper

  • If I go off-tab for a period of time, the UI times out

  • When I return, the default UI is loaded (iX Dark)

  • IF, the login prompt triggers, and I log in, the “bones” of the iX Dark them remain, and it seems that “portions” of the Paper theme trigger. This results in some weird styles… Images attached.

Expected behaviour:

  • After authentication and UI load, the UI would fully update to reflect the selected Theme.

    • It looks like this is in theme.service.ts?

    • Looks like we should subscribe to the log-in event and re-call onThemeChanged with the saved session them? Just like it does with a fresh reload?

    • Or perhaps the timeout event doesn’t or should destroy the Theme service object? So it gets re-built at log it? I am not sure exactly, as I haven’t delved into the code that deeply…

Desired behavour?

  • The UI is just plain aware of the selected Theme and doesn’t reset to iX Dark? I mean, that would be “ideal.”

Problem/Justification

None

Impact

None

Attachments

1

Activity

Show:

Automation for Jira February 2, 2023 at 9:58 PM

This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.

Michael Mulligan February 2, 2023 at 2:45 PM

This does seem to be resolved as of latest nightly. I do find it odd that the selected UI Theme is not reflected in the Login UI, but I did some digging into the JS, and can see that that would be a touch more work to reconcile. Would be nice, but eeeeven LOWER priority, I imagine.

Thanks!

Bonnie Follweiler January 30, 2023 at 8:39 PM

Can you update to the latest nightly and check it again. If it is still doing the same thing would you please provide screenshots and a debug? You can upload them to our secure and private upload service located at .

Thank you!

Michael Mulligan January 24, 2023 at 4:54 PM

Anything I can do to help?

Automation for Jira January 16, 2023 at 4:12 PM

Thank you for submitting this TrueNAS Bug Report! So that we can quickly investigate your issue, please attach a Debug file and any other information related to this issue through our secure and private upload service below. Debug files can be generated in the UI by navigating to System -> Advanced -> Save Debug.

https://ixsystems.atlassian.net/servicedesk/customer/portal/15/group/37/create/153

Cannot Reproduce
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Impact

Low

Components

Fix versions

Priority

More fields

Katalon Platform

Created January 16, 2023 at 4:12 PM
Updated February 27, 2025 at 10:14 PM
Resolved February 2, 2023 at 9:58 PM