Public bug reported:

I'm running the Chromium snap on elementary OS 8, which is configured to
automatically switch between light and dark themes as the day goes by.

Chromium is able to change from the dark theme to the light theme, but
it fails to switch from light to dark; its window flickers dark for a
moment, but it stays light-themed. At this point, Chromium no longer
reacts to desktop color changes, and is effectively stuck in light mode.
It picks up the expected theme after a restart.

To reproduce:
1. Set your desktop to dark mode.
2. Start Chromium and make sure the "Classic" theme is selected, and that 
"Mode" is set to "Device". If that's set, it should start in dark mode, as 
expected.
3. Switch your desktop to light mode, and observe how Chromium reacts to the 
change; then switch to dark mode.
4. When Chromium fails to switch to the dark mode, restart it; it should then 
start with the expected appearance.
5. With Chromium restarted and in dark mode, switch your desktop to light mode 
once again; it should work as before, but switching to dark mode will fail 
again.

It's possible that this has nothing to do with the Snap packaging; but
without access to a Debian (apt) package, I'm unable to test it.


$ uname -a
Linux helium 6.14.0-37-generic #37~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 
20 10:25:38 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

$ type -a chromium
chromium is /snap/bin/chromium

$ snap info chromium
name:      chromium
summary:   Chromium web browser, open-source version of Chrome
publisher: Canonical✓
store-url: https://snapcraft.io/chromium
contact:   
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bugs?field.tag=snap
license:   unset
description: |
  An open-source browser project that aims to build a safer, faster, and more
  stable way for all Internet users to experience the web.
commands:
  - chromium.chromedriver
  - chromium
services:
  chromium.daemon: simple, disabled, inactive
snap-id:      XKEcBqPM06H1Z7zGOdG5fbICuf8NWK5R
tracking:     latest/stable
refresh-date: yesterday at 01:27 -03
channels:
  latest/stable:    143.0.7499.169 2026-01-05 (3343) 184MB -
  latest/candidate: 143.0.7499.169 2025-12-20 (3343) 184MB -
  latest/beta:      144.0.7559.20  2025-12-19 (3340) 185MB -
  latest/edge:      145.0.7587.4   2026-01-07 (3345) 186MB -
installed:          143.0.7499.169            (3343) 184MB -

$ echo "$XDG_SESSION_TYPE"
wayland

$ lsb_release -rd
No LSB modules are available.
Description:    elementary OS 8
Release:        8


Attached outputs:
- lspci -v
- snap connections chromium
- /snap/bin/chromium --enable-logging=stderr

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

** Attachment added: "lspci -v"
   https://bugs.launchpad.net/bugs/2137676/+attachment/5938145/+files/lspci.txt

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

Title:
  Fails to switch to Classic dark mode when desktop color mode is
  changed

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


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

Reply via email to