Gsettings and reading color-scheme

Maybe I’m misunderstanding something. But my snap has the gsettings plug connected. But it can’t see the actual settings from my host system.

If I run the below gsettings command inside the snap (using snap run --shell myapp) it outputs “default”.

gsettings get org.gnome.desktop.interface color-scheme

Running the same outside the snap gives “prefer-dark”. I do understand the snap is sandboxed. But shouldn’t the gsettings plug exactly allow this kind of access? The documentation on gsettings interface - Snap documentation says:

gsettings provides access to any GSettings item for the current user.

This particular property may need to be queried via an XDG desktop portal. If you use the gnome extension in your snapcraft.yaml this should be set up for you automatically and the command you shared should work.