OK, I managed to reproduce the issue.
> Proposition <
Chromium loads a dark theme when it finds a theme but cannot read it. Chromium
loads a light theme when it doesn't find a theme.
I'll take a good guess that you cannot actually notice the visual
difference between Adwaita and Adwaita-modified in Chromium — please
confirm or deny this.
Before, Chromium wouldn't even find Adwaita-modified and thus give you
no error message, and would load a default, light theme, that you
identify as "matching your system theme", as you can still observe by
giving GTK_THEME=random-string in the command line.
Now, due to changes in XDG_DATA_HOME, Chromium finds your Adwaita-
modified, but cannot nonetheless read it due to snap confinement, and
decides to load instead a dark theme regardless of your system settings.
As to the why there is this behavior mismatch of loading a light theme
in one case and a dark one in other, I don't know yet.
** Changed in: chromium-browser (Ubuntu)
Status: New => Triaged
** Tags added: regression
** Changed in: chromium-browser (Ubuntu)
Assignee: (unassigned) => Nathan Teodosio (nteodosio)
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/2038727
Title:
Chromium snap theme parsing error
Status in chromium-browser package in Ubuntu:
Triaged
Bug description:
Chromium Version 117.0.5938.149 (Official Build) snap (64-bit) not
following my GTK theme. Starting the Chromium snap from the terminal
yields a theme parsing error:
(chrome:95638): Gtk-WARNING **: 11:01:12.220: Theme parsing error:
gtk.css:1:0: Failed to import: Error opening file
/home/aej/.local/share/themes/Adwaita_modified/gtk-3.0/gtk.css:
Permission denied
Previous versions of the Chromium snap have not had this problem.
Debian 11 + XFCE. I have been running the chromium snap for about two
years without an issue like this on this system. I have reverted to
the previous version of the chromium snap.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2038727/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp