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                 Plug                                    Slot          
                  Notes
audio-playback            chromium:audio-playback                 
:audio-playback                 -
audio-record              chromium:audio-record                   :audio-record 
                  -
bluez                     chromium:bluez                          :bluez        
                  -
browser-support           chromium:browser-sandbox                
:browser-support                -
camera                    chromium: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-legacy            chromium: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                -             
                  -
opengl                    chromium:opengl                         :opengl       
                  -
password-manager-service  chromium:password-manager-service       -             
                  -
personal-files            chromium:chromium-config                
:personal-files                 -
personal-files            chromium:dot-local-share-applications   
:personal-files                 -
personal-files            chromium:dot-local-share-icons          
:personal-files                 -
raw-usb                   chromium:raw-usb                        -             
                  -
removable-media           chromium:removable-media                
:removable-media                -
screen-inhibit-control    chromium: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  
                  -
unity7                    chromium:unity7                         :unity7       
                  -
upower-observe            chromium: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 **: 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

Reply via email to