Firefox 133 now seems to follow Gnome's accent color!
from that_leaflet@lemmy.world to linux@lemmy.ml on 26 Nov 21:51
https://lemmy.world/post/22476957

Not sure if this is also true for KDE.

#linux

threaded - newest

wesker@lemmy.sdf.org on 26 Nov 21:58 next collapse

Such a little detail, but makes me so happy.

foremanguy92_@lemmy.ml on 27 Nov 06:26 next collapse

It’s not a little detail, it means that Firefox is more integrated into your OS

Petter1@lemm.ee on 27 Nov 08:31 next collapse

I hate Firefox for not working with my themes like all other apps do… And there seems to be no browser that does.

KarnaSubarna@lemmy.ml on 27 Nov 20:57 collapse

It is 🙂

TimeSquirrel@kbin.melroy.org on 26 Nov 22:14 next collapse

Now if they can fix the bug where once in a while I click to a tab and it doesn't switch to it unless I minimize and maximize again, and needing a restart of the browser to get rid of that behavior...

tekato@lemmy.world on 26 Nov 23:06 next collapse

Did you submit a bug report?

Ephera@lemmy.ml on 27 Nov 04:59 collapse

Hmm, sounds like it doesn’t repaint the browser contents then. Could be something to do with your graphics driver.
Could also be that a profile refresh happens to fix it: …mozilla.org/…/troubleshoot-and-diagnose-firefox-…

bunitor@lemmy.eco.br on 26 Nov 22:45 next collapse

firefox has been following kde’s colors for a good while now

that_leaflet@lemmy.world on 26 Nov 22:52 collapse

True, although not in the same way. KDE is using its own GTK theme and uses ~/.config/gtk-3.0/gtk.css to override colors to the accent color. But this method is broken for sandboxed versions of Firefox since they can’t access ~/.config/gtk-3.0/gtk.css (though with flatpak you could create an override to allow it).

I believe (and hope) Firefox is now following the standardized accent color portal for determining the accent color. If so, then this accent color change should work on Gnome, KDE, Pantheon, and other desktops that support the accent color portal. If true, then even sandboxed apps should follow the accent color without messing with the sandbox.

independantiste@sh.itjust.works on 26 Nov 22:56 next collapse

I love the flatpak Wayland portals and systemd desktop stack. It allows Linux to finally have some sort of standard that everyone agrees on. This is what has been holding Linux back for so many years, it’s basically impossible to build a Linux app that will work for everyone because of this. Now we have a single dedicated system APIs that is available basically everywhere

D_Air1@lemmy.ml on 27 Nov 02:34 next collapse

Well yes, but not really as not all desktops agree on and implement various wayland protocols and other features like the system tray, server side decorations, etc, etc. Quite a number of apps don’t work everywhere or appear broken depending on their environment. I’ve seen it happen live in a couple of youtube videos. People trying linux and having a problem that only exists on the desktop environment they were using.

But I agree with the sentiment. Better than before.

independantiste@sh.itjust.works on 27 Nov 02:37 next collapse

the good thing is that virtually everyone uses GNOME and KDE, so the small issues are mostly encountered by more advanced users with custom setups. The main point is that app developers can now develop apps that will work anywhere that implements the required features, and if it doesnt, then too bad, show an error message. Its the same kind of problem with, for example, webcams. The user may or may not have a webcam connected, in which case you display an error popup with a clear message that it does not work because the feature is not implemented. They could go into fallbacks but those are usually platform/desktop specific (which goes against the point of building using the standard stack)

exu@feditown.com on 27 Nov 16:40 collapse

Eh, it’s mostly everyone agrees but Gnome doesn’t

gens@programming.dev on 27 Nov 06:20 collapse

Uhmm… It was always possible to make an “app” that works on all linuxes the same.

independantiste@sh.itjust.works on 27 Nov 06:27 next collapse

There was always a need for a specific system dependency like for the file picker. There was no universal API that uses a system provided way to have a file picker. It had to be hacked together by adding dependencies to the app and everything that comes with this

deafboy@lemmy.world on 28 Nov 10:05 collapse

The Linux part was never a problem. The userspace is.

For the proper opensource apps, this can be fixed by the package maintainers (shout-out to the real heroes!).

For proprietary, compile-once run anywhere apps, that was always a problem. For more info, I recommend this great FOSDEM talk by Simon McVittie from Collabora.

daggermoon@lemmy.world on 27 Nov 09:06 collapse

Stupid question, Do you know if there is a similar method for qt apps installed through flatpak? I could not get Kate to use my accent color and it’s been driving me crazy. Also, happy we finally have a standard for accent colors. Now if we could just have a standard for global menus, probably wishful thinking.

that_leaflet@lemmy.world on 27 Nov 11:41 collapse

Bizarrely enough, I think KDE apps also read that info from ~/.config/gtk-3.0/gtk.css. So use Flatseal, KDE’s settings, or the CLI to give all apps access to that file.

daggermoon@lemmy.world on 27 Nov 22:44 collapse

I’ll give it a try. Thank you!

MonkderVierte@lemmy.ml on 27 Nov 10:57 next collapse

But gnome apps don’t do that on XFCE. simple-scan and zenity as an example. Please don’t implement libadwaita, guys.

d_k_bo@feddit.org on 27 Nov 17:04 collapse

But gnome apps don’t do that on XFCE. simple-scan and zenity as an example.

The latest version of both simple-scan and zenity do support custom accent colors. AFAICT, XFCE doesn’t support the XDG accent color setting.

Please don’t implement libadwaita, guys.

This is just extremely misleading. Libadwaita uses the system accent color by default which makes it even easier respect the users preference when developing a GTK application.

Mwa@lemm.ee on 27 Nov 19:48 collapse

Works on cinnamon aswell Which is a fork of Gnome 3.

that_leaflet@lemmy.world on 27 Nov 21:22 collapse

Cinnamon’s accent color support works by changing the GTK theme, which Firefox would follow.

The Firefox 133 update changes the accent color without changing the GTK theme, I believe it’s following the accent color portal.

Mwa@lemm.ee on 28 Nov 03:36 collapse

Okay that would make sense.