Bugzilla – Bug 1217350
Some Electron-based applications are unable to detect dark mode
Last modified: 2024-05-11 17:10:04 UTC
Created attachment 870861 [details] Visual Studio Code, though preconfigured by default with a dark theme, has a light titlebar, suggesting that Electron detects a light theme in the system. Some Electron-based applications are unable to detect that the system is running with a dark theme, despite dark mode being the default configuration for openSUSE Aeon. This can lead to a lack of UI consistency. I noticed this primarily in apps like Visual Studio Code and Signal. It's worth pointing out that this doesn't occur on every Electron app (namely, the Webcord Flatpak is able to handle theming just fine). I'll also point out that this isn't necessarily an issue with the apps alone or GNOME, because the aforementioned apps--whether packaged as a Flatpak, tarball, or run within a distrobox--do correctly use a dark theme on Ubuntu 23.10. I'm not an expert on SELinux, but it is my best guess as to why this is happening.
I've tried recreating this but it doesn't seem to happen on any of the electron apps I'm using..can you confirm if this still is an issue?
Good news! I guess something must've changed between November and now, because this issue no longer seems to exist! Yay!