[Desktop-packages] [Bug 2038727] Re: Chromium snap theme parsing error
** Changed in: chromium-browser (Ubuntu) Status: Fix Committed => Fix Released -- 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: Fix Released 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2038727] Re: Chromium snap theme parsing error
Great! Thanks for testing. This will slowly flow into other channels. -- 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: Fix Committed 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2038727] Re: Chromium snap theme parsing error
Yes, this build does fix the issue. ** Attachment added: "snap_list_chromium_2023-10-16.png" https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2038727/+attachment/5709904/+files/snap_list_chromium_2023-10-16.png -- 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: Fix Committed 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2038727] Re: Chromium snap theme parsing error
It's built now, please have a look if it fixes the issue now. -- 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: Fix Committed 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
Re: [Desktop-packages] [Bug 2038727] Re: Chromium snap theme parsing error
Ah, sorry, silly I dispatched builds a bit before I committed changes. At least both of us learned something new about the snapshots. I'll build again and let you know, thanks for your disposition in testing the fix. -- 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: Fix Committed 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2038727] Re: Chromium snap theme parsing error
Nathan, Thanks for the full recipe. I learned something new! Unfortunately the problem still exists for me with this update. ** Attachment added: "snap_list_chromium_2023-10-13.png" https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2038727/+attachment/5709079/+files/snap_list_chromium_2023-10-13.png -- 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: Fix Committed 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2038727] Re: Chromium snap theme parsing error
So I followed up there and now I know the full recipe for you, with no need to worry about backwards incompatibility: * [Create a snapshot] snap save chromium * [Switch to edge] snap refresh --edge chromium * Launch Chromium normally, see if the problem is fixed * [Switch back to stable (if desired)] snap refresh --stable chromium * [Restore your stable data (if desired)] snap restore You can also query your saved sets with 'snap saved'. -- 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: Fix Committed 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2038727] Re: Chromium snap theme parsing error
Andy, I released a tentative fix to the edge channel. If you want to try it, refresh your snap with snap refresh --edge chromium Please note that a transition back to stable channel might not always be smooth (e.g. password storage can become incompatible), so you could generate a snapshot and then restore it[1] or also use parallel installs[2] to protect yourself against such problems. [1] https://forum.snapcraft.io/t/snapshots/9468 [2] https://forum.snapcraft.io/t/parallel-installs/7679 -- 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: Fix Committed 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2038727] Re: Chromium snap theme parsing error
** Changed in: chromium-browser (Ubuntu) Status: In Progress => Fix Committed -- 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: Fix Committed 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2038727] Re: Chromium snap theme parsing error
** Changed in: chromium-browser (Ubuntu) Status: Triaged => In Progress -- 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: In Progress 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2038727] Re: Chromium snap theme parsing error
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. That is correct. No visual difference between Adwaita and Adwaita_modified. My modifications are only to the GTK-2.0 portion of the theme (scrollbar slider width and some minor text/background color changes). For GTK-3.0 related changes I use /home/aej/.config/gtk-3.0/gtk.css which snap/chromium seems to have no problem accessing. -- 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2038727] Re: Chromium snap theme parsing error
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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2038727] Re: Chromium snap theme parsing error
Does it work with GTK_THEME=Adwaita_modified? No it does not. Setting GTK_THEME=Adwaita_modified is the same as no GTK_THEME= entry. -- 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: New 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
Re: [Desktop-packages] [Bug 2038727] Re: Chromium snap theme parsing error
> ---> > How do you set your theme? > > I set my theme using xfce4-settings-manager "Appearance" and "Window Manager" > selections. Should I be doing something else? > <--- I don't think so, that should be a valid use case, we can surely rule out the possibility of XFCE setting the system theme incorrectly. I need to investigate how it does it though. > ---> > $HOME/snap/chromium/current/.local/share/themes is a broken link because > /snap/chromium//data-dir does not exist in either snap 2655 (the one I am > complaining about) or snap 2642 (which works fine for me). > <--- > > ---> > chromium file:///snap/chromium/current/data-dir/themes > > Does list a bunch of theme directories > <--- That's all as expected indeed. > ---> > As I stated at the end of Comment #2, the chromium snap works fine if I add > GTK_THEME=Adwaita to the Exec= line in the application's desktop file. > <--- Sorry, I missed that because Launchpad collapses long answers. But anyway, if I read correctly, Adwaita is not your theme, but Adwaita_modified. Does it work with GTK_THEME=Adwaita_modified? And maybe my tests were moot, because gtk-theme interface provides the Yaru themes I tried. I will later try with a therefrom absent theme or a custom theme. ** Changed in: chromium-browser (Ubuntu) Status: Incomplete => New ** Changed in: chromium-browser (Ubuntu) Importance: Undecided => Low -- 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: New 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2038727] Re: Chromium snap theme parsing error
---> But before we continue, please clarify this: You only notice it not only in the stderr log but also in the user interface itself, which doesn't use your custom theme, as it did before that release, right? I first noticed the problem when I started the chromium snap normally using a desktop file. It was not using my system theme like all previous versions of the chromium snap. It was using some sort of dark theme where my system theme is light. At that point I started the chromium snap from the terminal where I noticed the "Permission denied" error I mention in the Bug Description. <--- ---> How do you set your theme? I set my theme using xfce4-settings-manager "Appearance" and "Window Manager" selections. Should I be doing something else? <--- ---> $HOME/snap/chromium/current/.local/share/themes is a broken link because /snap/chromium//data-dir does not exist in either snap 2655 (the one I am complaining about) or snap 2642 (which works fine for me). <--- ---> chromium file:///snap/chromium/current/data-dir/themes Does list a bunch of theme directories <--- ---> As I stated at the end of Comment #2, the chromium snap works fine if I add GTK_THEME=Adwaita to the Exec= line in the application's desktop file. <--- -- 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: Incomplete 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
Re: [Desktop-packages] [Bug 2038727] Re: Chromium snap theme parsing error
Given that this stopped working for you exactly in 117.0.5938.149, which included some related changes (e.g. changing the default XDG_DATA_HOME), one of them is probably affecting you here. But before we continue, please clarify this: You only notice it not only in the stderr log but also in the user interface itself, which doesn't use your custom theme, as it did before that release, right? > $HOME/.config/gtk-3.0/settings.ini does not exist. How do you set your theme? Can you confirm that ---> $ readlink $HOME/snap/chromium/current/.local/share/themes /snap/chromium//data-dir/themes <--- and that ---> chromium file:///snap/chromium/current/data-dir/themes < lists a bunch of theme directories? -- 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: Incomplete 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2038727] Re: Chromium snap theme parsing error
Nathan, $HOME/.config/gtk-3.0/settings.ini does not exist. -- 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: Incomplete 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2038727] Re: Chromium snap theme parsing error
What is $HOME/.config/gtk-3.0/settings.ini? -- 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: Incomplete 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2038727] Re: Chromium snap theme parsing error
Do you have a reproducer recipe? I tried with various themes I found in /usr/share/themes: GTK_THEME=Yaru-viridian chromium GTK_THEME=Yaru-blue chromium and it seems to be working fine. -- 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: Incomplete 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2038727] Re: Chromium snap theme parsing error
Sorry, it looks like results from "$snap connections chromium" lost formatting in my previous post. Attached is a screen shot of the terminal output ** Attachment added: "snap_connections_chromium.png" https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2038727/+attachment/5707787/+files/snap_connections_chromium.png -- 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: Incomplete 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 2038727] Re: Chromium snap theme parsing error
The "Theme parsing error" in the Bug Description appears to be a permission error. The theme I am using is based on Adwaita. I copied /usr/share/themes/Adwaita to /home/aej/.local/share/themes/Adwaita_modified and modified the gtk-2.0 portion of the theme. /home/aej/.local/share/themes/Adwaita_modified/gtk-3.0/gtk.css contains: /* Adwaita is now part of GTK+ 3, this file is no longer used */ @import url("resource:///org/gtk/libgtk/theme/Adwaita/gtk-contained.css"); The results from $snap connections chromium: Interface PlugSlot Notes audio-playbackchromium:audio-playback :audio-playback - audio-record chromium:audio-record :audio-record - bluez chromium:bluez :bluez - browser-support chromium:browser-sandbox :browser-support- camerachromium:camera :camera - content chromium:foo-install-cups - - content[gnome-42-2204]chromium:gnome-42-2204 gnome-42-2204:gnome-42-2204 - content[gtk-3-themes] chromium:gtk-3-themes gtk-common-themes:gtk-3-themes - content[icon-themes] chromium:icon-themes gtk-common-themes:icon-themes - content[sound-themes] chromium:sound-themes gtk-common-themes:sound-themes - cups chromium:cups cups:cups - desktop chromium:desktop:desktop - desktop-legacychromium:desktop-legacy :desktop-legacy - gsettings chromium:gsettings :gsettings - home chromium:home :home - joystick chromium:joystick :joystick - mount-observe chromium:mount-observe - - mpris - chromium:mpris - network chromium:network:network - network-bind chromium:network-bind :network-bind - network-manager chromium:network-manager- - openglchromium:opengl :opengl - password-manager-service chromium:password-manager-service - - personal-fileschromium:chromium-config :personal-files - personal-fileschromium:dot-local-share-applications :personal-files - personal-fileschromium:dot-local-share-icons :personal-files - raw-usb chromium:raw-usb- - removable-media chromium:removable-media :removable-media- screen-inhibit-controlchromium:screen-inhibit-control :screen-inhibit-control - system-files chromium:etc-chromium-browser-policies :system-files - system-packages-doc chromium:system-packages-doc :system-packages-doc- u2f-devices chromium:u2f-devices:u2f-devices - unity7chromium:unity7 :unity7 - upower-observechromium:upower-observe :upower-observe - wayland chromium:wayland:wayland - x11 chromium:x11:x11 - As I stated in the Bug Description, this theme has never been a problem for previous versions of the Chromium snap. As a workaround to this issue I have added GTK_THEME=Adwaita to the Exec= line in the application's .desktop file. -- 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: Incomplete 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
[Desktop-packages] [Bug 2038727] Re: Chromium snap theme parsing error
More than likely your GTK theme isn't included in the gtk-common-themes snap, which is required for the chromium snap to be able to follow your GTK theme. See https://github.com/ubuntu/gtk-common-themes Also check your snap connections, such as sudo snap connect chromium:removable-drives ** Changed in: chromium-browser (Ubuntu) Status: New => Incomplete -- 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: Incomplete 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 : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp