mwalbeck/nextcloud-breeze-dark

Uninstalling the theme but attributes still present

Closed this issue · 1 comments

Describe the bug
A Nextcloud user had activated the theme. And for this user, the attributes of Breezedark are still assigned in the body tag, even though the theme has been deactivated and uninstalled.

To Reproduce
Steps to reproduce the behavior:

  1. install the theme
  2. activate the theme for a user
  3. uninstall the theme
  4. activate the light theme for the user
  5. delete caches
  6. check the body class with the user

Expected behavior
A clear and concise description of what you expected to happen.

Body Attributes
<body id="body-user" data-theme-breezedark data-theme-light data-themes=breezedark,light>

Setup (please complete the following information):

  • Nextcloud version: 28.0.4
  • Theme version: 28.0.0
  • Browser and browser version: Firefox 125.0.1

Additional context
config:list will give me these infos. I wonder why this is still in my configs at all?

        "breezedark": {
            "enabled": "no",
            "installed_version": "28.0.0",
            "theme_automatic_activation_enabled": "0",
            "theme_enforced": "0",
            "theme_login_page": "0",
            "theme_settings_version": "2",
            "types": ""
        },

Already tried

  • files:cleanup
  • files:scan-app-data
  • maintenance:repair