"Adapt to system" does not detect GNOME dark mode

Bug: “Adapt to system” does not detect GNOME dark mode

Steps to reproduce

  1. Open Obsidian with the appearance setting Adapt to system enabled.

  2. In GNOME 48, change the system appearance to Dark Style.

  3. Observe that Obsidian does not switch to dark mode.

  4. Close and reopen Obsidian. The application still uses the Light theme.

Did you read and follow the Troubleshooting Guide?

Yes.

Expected result

Obsidian should automatically detect the system appearance preference and switch to the Dark theme when GNOME is set to Dark Style, as it did in previous versions.

Actual result

Obsidian remains in Light mode regardless of the GNOME system appearance setting. Restarting the application does not resolve the issue.

This functionality worked correctly in older versions of Obsidian.

Environment

  • Distro Name: Debian

  • Distro Version: Debian 13 (Trixie)

  • Desktop Environment: GNOME 48

  • Installation method used: Flatpak

  • Obsidian Version: 1.15.0

Additional information

The issue appears to have been introduced in a recent Obsidian version, since the Adapt to system functionality worked normally in previous releases.

The problem persists after closing and reopening Obsidian.

I can’t reproduce this. I tried this in Ubutu26 LTS.

@WhiteNoise look this:

Screencast From 2026-11-03 17-39-16 (5 FPS)

Is there any way to extract debugging information for you?

Did you try the appimage?

I also tested using the AppImage, and the same issue occurs: the application does not change its theme according to the system theme.

For reference, I tested the following versions:

  • 1.15.0 (AppImage)

  • 1.15.0 (Flatpak)

  • 1.15.1 (Flatpak - Early access version)

I’m not sure if this helps, but I also noticed that clicking the “Dark Style” button on Debian 13 (GNOME) changes the following system setting:

Light mode:

org.gnome.desktop.interface color-scheme 'default'

Dark mode:

org.gnome.desktop.interface color-scheme 'prefer-dark'

Perhaps this information can help identify whether the issue is related to how Obsidian detects the system’s color scheme.


I also tested Obsidian 1.15.0 (AppImage) on Fedora 44 with GNOME 50, and the “Adapt to system” functionality worked correctly.

However, on Debian 13 with GNOME 48, the same version (1.15.0 AppImage) does not detect the system appearance preference.

I believe I’ve found the cause of the problem.

The issue occurs when I change the GNOME GTK theme. For example, running:

gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-blue'

causes Obsidian’s “Adapt to system” functionality to stop working.

In fact, the Obsidian theme only switches correctly when the GTK theme is set to Adwaita, using:

gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita'

As soon as I switch to another GTK theme, the problem occurs again.