I’m using Dia 1.58.0 on macOS. Some sites switch back to light mode a few hours after I’ve selected dark mode. The one preference I can reliably reproduce is YouTube’s Theater mode.
Here’s how I tested it:
- Created a fresh Dia profile with zero extensions and signed in to YouTube.
- Opened a video, switched to Theater mode, then opened another video in a new tab. Theater mode stayed on.
- Quit Dia with ⌘Q, reopened the same profile, and played another video. YouTube was back in the default view.
I get the same result in my regular profile. One detail that might help: YouTube’s wide cookie was present before quitting and gone after relaunch, while its persistent PREF cookie survived. I’m still unsure whether the dark-mode resets have the same cause.
Can anyone else reproduce this after a full quit on macOS? I’d also be interested to know whether there’s a Dia setting that controls which cookies get restored when you reopen the browser.
======================= UPDATE =======================
I contacted Dia Support about YouTube Theater mode resetting after a full quit. They suggested switching Settings → Advanced → When quitting… from Close Tabs and Windows to Preserve Tabs and Windows. I tried it, and it worked for me.
With Close Tabs and Windows, Theater mode stayed on across new tabs but reset every time I quit Dia with ⌘Q and reopened it. I reproduced that even in a fresh profile with zero extensions. After switching to Preserve Tabs and Windows, I fully quit Dia, relaunched it, and opened a YouTube video. It was still in Theater mode.
I’d still consider the original behavior a bug from a user’s perspective. I like starting with a clean window, and I’d expect YouTube to remember my player preference either way.
One clarification from my original post: YouTube’s dark theme stayed enabled throughout. The dark-mode resets happened on other websites, and I haven’t confirmed whether this setting fixes those too.