Skip to content

Flag colors not showing when switching to light mode #49

@kathyycai

Description

@kathyycai

Problem description

Please describe the issue concisely in here. In case of an error: Walk us through the steps you took to get there. What happened? What did you expect to happen?

when i switch from dark to light mode i get an error message and anki continues working as normal. in browse mode, my flagged cards are not highlighted in light mode, they just appear white. but the cards are highlighted the correct color in dark mode. i dont get the error when switching between light and dark modes if i hold shift and dont use addons but then i dont get the add on colors. im not actually sure if the error message is from recolor or not please help

Image Image

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • I've restarted Anki to see if it helps
  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've tried to disable other add-ons to see if there are any interactions present
  • My issue disappears when I hold shift while starting Anki.
  • I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

What Anki version are you using?

*Please open Anki, go to Help → About (windows) or Anki → About Anki (mac) to find the version. Edit the value between the backticks below

25.09.2##

Error message (if any)

If you've received an error message, please copy and paste it between the backticks below:

Anki 25.09.2 (3890e12c) (ao) Python 3.13.5 Qt 6.9.1 PyQt 6.9.1 Platform: macOS-15.6.1-arm64-arm-64bit-Mach-O Traceback (most recent call last): File "/Users/katherinecai/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/progress.py", line 121, in handler func() ~~~~^^ File "/Users/katherinecai/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/theme.py", line 243, in apply_style gui_hooks.theme_did_change() ~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/Users/katherinecai/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/_aqt/hooks.py", line 5248, in __call__ hook() ~~~~^^ File "/Users/katherinecai/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/webview.py", line 921, in on_theme_did_change self.page().setBackgroundColor(theme_manager.qcolor(colors.CANVAS)) ~~~~~~~~~^^ File "/Users/katherinecai/Library/Application Support/AnkiProgramFiles/.venv/lib/python3.13/site-packages/aqt/webview.py", line 400, in page return cast(AnkiWebPage, super().page()) ~~~~~~~~~~~~^^ RuntimeError: wrapped C/C++ object of type AnkiWebView has been deleted ===Add-ons (active)=== (add-on provided name [Add-on folder, installed at, version, is config changed]) BetterSearch ['1052724801', 2025-04-06T16:13, 'None', ''] Colorful Tags Hierarchical Tags ['594329229', 2022-09-15T10:06, 'None', ''] ReColor ['688199788', 2025-08-11T03:20, '3.3', mod] SmarterTypeField - Flexible matching for type field ['1371444066', 2024-11-28T14:34, 'None', ''] ===IDs of active AnkiWeb add-ons=== 1052724801 1371444066 594329229 688199788 ===Add-ons (inactive)=== (add-on provided name [Add-on folder, installed at, version, is config changed]) Review Heatmap ['1771074083', 2022-06-29T20:43, 'None', '']

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions