How to reproduce the issue:
Open two tabs of the same domain, for example two StackOverflow links
Enable dark mode for Tab 1 (picture shows Tab 1 after dark mode has been applied)
Switch to Tab 2 (picture shows Tab 2).
Notice how the pain brush menu shows that Tab 2 should be in dark mode (picture shows the pain brush menu of Tab 2). However, it is still in light mode.
I expected, at the very least:
- The painbrush icon to report the accurate state of if the dark mode script has been applied or not
That could probably be achieved by adding a tag to the page's <head> when the script is applied, and removing it if the script is applied again.
However. I would prefer if:
- The dark mode script is applied to all tabs with the website loaded whenever it is toggled, making such state tracking unnescessary.
Version 0.99.127.3.2-rc (WebKit 619.1.11.111.2)
Sonoma (14)