Public bug reported:

On Nov 16th, I applied the auto-update of the snap from the revision
3569 to 3593. After that, I lost the window decoration (please see the
attached screenshot). It happens only when:

- Revision is 3593 (it didn't happen until yesterday including the revision 
3569)
- The system is set to the default "light" theme (it doesn't happen with the 
dark theme somehow)
- Chromium setup has ~/.chromium-browser.init with some override flags (in my 
case: CHROMIUM_FLAGS='--force-device-scale-factor=1.5')


[With the revision 3593]

$ chromium
...

(chrome --password-store=basic --force-device-scale-factor=1.5:151804):
Gtk-WARNING **: 15:47:12.843: Use GtkSettings:gtk-interface-color-scheme
instead

(chrome --password-store=basic --force-device-scale-factor=1.5:151804):
Gtk-WARNING **: 15:47:12.888: Theme parser error: gtk.css:1:1-63: Failed
to import: The resource at “/com/ubuntu/themes/Yaru/4.0/gtk.css” does
not exist


[workaround]

Explicitly fall back to gtk 3 in ~/.chromium-browser.init but I don't
think that's the right way because CHROMIUM_FLAGS was supposed to
override some flags instead of copying all flags.

CHROMIUM_FLAGS='--force-device-scale-factor=1.5 --gtk-version=3'

** Affects: chromium-browser (Ubuntu)
     Importance: Undecided
         Status: Confirmed

** Attachment added: "Screenshot From 2026-11-17 15-45-23.png"
   
https://bugs.launchpad.net/bugs/2174699/+attachment/6018756/+files/Screenshot%20From%202026-11-17%2015-45-23.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2174699

Title:
  regression: Chromium cannot render the gtk decoration when
  ~/.chromium-browser.init is used

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2174699/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to