Many Snaps, such as Firefox, do not appear to support custom accent colors on KDE

I’m noticing some strangeness regarding accent colors with Snaps on KDE.

The most obvious when running a fresh Kubuntu 22.04 install is that Firefox does not adjust its accent color when choosing a custom one (like this pleasant, eye-searing green) in KDE’s system settings. This also applies to GTK3-based Snaps, and even some KDE Snaps like Neochat or Okular.

This would be easy to write off as “oh, it’s because of the sandbox/confinement!”, but for whatever reason, the KCalc Snap is green (and unlike the Kate Snap, it’s using strict confinement, not classic)! This leads me to believe that it should be possible to get accent colors working on at least the other KDE Snaps!

Hopefully there is also a way to get accent colors working on GTK3 based Snaps like Firefox. It is a minor detail, but it would really help to make the Kubuntu experience feel nice and well-integrated!

Bumping this since it seems to have gone under the radar.

Bumping this again

LibreOffice writer with Flatpak (left) and Snap (right)

I’m using Neon user. A few days ago I did a little experiment… I removed the the package xdg-desktop-portal-gtk. Immediately after that firefox snap (133.0) started respecting the system accent color. For the very first time. Firefox also always seemed to apply the plasma color scheme. But I think in reality it has only two appearances: the dark one and the light one. But if firefox combines those two with the system accent color it is really very believable. I also tried with the snap version of thunderbird and that isn’t so far. So I stick with https://archive.mozilla.org/pub/thunderbird/releases/134.0b3/linux-x86_64/ . And that works like a charm.