Skip to content

Doesn't remember darkmode setting #11171

Closed

Description

@merspieler

Please verify that this bug has NOT been raised before.

  • I checked and didn't find a similar issue

Describe the bug*

When I log back into inventree, it always forgets that I have set dark mode.
I would expect the UI to remember this setting.

Steps to Reproduce

  • Set the UI to dark mode to dark mode
  • clear browser data or log in from a different browser or device
  • Observe the color move is again bright

Expected behaviour

For the UI to remember my setting of dark mode

Deployment Method

Docker

Version Information

InvenTree-Version: 1.1.9
Django Version: 4.2.26
Commit Hash: 73c4f88
Commit Date: 2026-01-20
Commit Branch: null
Database: django.db.backends.postgresql
Debug-Mode: False
Deployed using Docker: True
Platform: Linux-6.12.60-x86_64-with-glibc2.41
Installer: DOC
Active plugins: false

Try to reproduce on the demo site

I tried to reproduce

Is the bug reproducible on the demo site?

Reproducible

Relevant log output

Activity

  1. added
    bug
    question
    triage:not-checked
    on Jan 20, 2026
  2. matmair commented on Jan 20, 2026

    @matmair
    Member

    The color schema is set per device and kept in the browsers local storage; if you clear browser data you loose your preference.

  3. added
    wontfix
    User Interface
    and removed
    bug
    question
    triage:not-checked
    on Jan 20, 2026
  4. matmair commented on Jan 20, 2026

    @matmair
    Member

    Having the color mode follow you is very cumbersome when you switch a lot between office and workshop floor.

  5. merspieler commented on Jan 20, 2026

    @merspieler
    Author

    That's a problem with an ephemeral system which on purpose doesn't keep state.

  6. matmair commented on Jan 20, 2026

    @matmair
    Member

    You call it a problem, I call it a ⭐️ design decision ⭐️

    The color mode change button is on the login page on the lower left below the login box. You can select the desired one before logging in on each device and the selection will stay till you clear the browser. At that point you will have to log in again and the button will right there

  7. matmair commented on Jan 28, 2026

    @matmair
    Member

    @SchrodingersGat what is your POV here?

  8. SchrodingersGat commented on Jan 28, 2026

    @SchrodingersGat
    Member

    If we tracked it within the user's profile, I'm sure that there would be others requesting that we revert to the previous behavior.

    @merspieler would you be willing to submit a patch to implement this? Otherwise, I do not think that this will gather much attention

  9. merspieler commented on Jan 30, 2026

    @merspieler
    Author

    How much time do you think that needs? In theory is should be straight forward, but I've seen horrible code at work where such a small change meant touching almost 10 files and even more functions/classes, chasing references for a day.

  10. matmair commented on Jan 31, 2026

    @matmair
    Member

    It would take me probably 30mins and then maybe another 5 if CI fails. No idea about your typescript and python/Django proficiency as your profile is private.

  11. merspieler commented on Jan 31, 2026

    @merspieler
    Author

    never touched typescript or django...
    can you give me a pointer where to start? then I'll have a look

  12. removed
    wontfix
    on Feb 1, 2026
  13. matmair commented on Feb 1, 2026

    @matmair
    Member

    Also, settings as this would be optional:

    SYSTEM_SETTINGS: dict[str, InvenTreeSettingsKeyType] = {

  14. github-actions commented on Apr 2, 2026

    @github-actions
    Contributor

    This issue seems stale. Please react to show this is still important.

  15. added
    inactive
    on Apr 2, 2026
  16. merspieler commented on Apr 2, 2026

    @merspieler
    Author

    closing cause not interested in playing games with a bot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    User Interfaceinactive

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions