** Description changed:

  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/bin/chromium --enable-logging=stderr
- /usr/share/libdrm/amdgpu.ids: No such file or directory
- 
[52843:52843:0107/205511.727758:WARNING:ui/ozone/platform/wayland/common/wayland_object.cc:119]
 Binding to zwp_pointer_gestures_v1 version 1 but version 3 is available.
- 
[52843:52843:0107/205511.727828:WARNING:ui/ozone/platform/wayland/common/wayland_object.cc:119]
 Binding to zwp_linux_dmabuf_v1 version 4 but version 5 is available.
- /usr/share/libdrm/amdgpu.ids: No such file or directory
- Gtk-Message: 20:55:11.770: Not loading module "atk-bridge": The functionality 
is provided by GTK natively. Please try to not load it.
- 
[52843:52843:0107/205511.900969:WARNING:chrome/browser/signin/account_consistency_mode_manager.cc:74]
 Desktop Identity Consistency cannot be enabled as no OAuth client ID and 
client secret have been configured.
- /usr/share/libdrm/amdgpu.ids: No such file or directory
- 
[52843:52843:0107/205511.970984:WARNING:ui/ozone/platform/wayland/host/wayland_surface.cc:170]
 Server doesn't support zcr_alpha_compositing_v1.
- 
[52843:52843:0107/205511.970998:WARNING:ui/ozone/platform/wayland/host/wayland_surface.cc:185]
 Server doesn't support overlay_prioritizer.
- 
[52843:52843:0107/205511.971002:WARNING:ui/ozone/platform/wayland/host/wayland_surface.cc:200]
 Server doesn't support wp_content_type_v1
- 
[52843:52843:0107/205511.971006:WARNING:ui/ozone/platform/wayland/host/wayland_surface.cc:214]
 Server doesn't support wp_color_management_surface_v1.
- /usr/share/libdrm/amdgpu.ids: No such file or directory
- 
[52983:52983:0107/205512.000135:WARNING:sandbox/policy/linux/sandbox_linux.cc:404]
 InitializeSandbox() called with multiple threads in process gpu-process.
- [52843:52843:0107/205512.097082:ERROR:dbus/object_proxy.cc:573] Failed to 
call method: org.gnome.Mutter.IdleMonitor.AddIdleWatch: object_path= 
/org/gnome/Mutter/IdleMonitor/Core: org.freedesktop.DBus.Error.AccessDenied: An 
AppArmor policy prevents this sender from sending this message to this 
recipient; type="method_call", sender=":1.444" (uid=1000 pid=52843 
comm="/snap/chromium/3343/usr/lib/chromium-browser/chrom" 
label="snap.chromium.chromium (enforce)") 
interface="org.gnome.Mutter.IdleMonitor" member="AddIdleWatch" error 
name="(unset)" requested_reply="0" destination="org.gnome.Mutter.IdleMonitor" 
(uid=1000 pid=2838 comm="/usr/bin/gala" label="unconfined")
- 
[52843:52843:0107/205512.097096:WARNING:ui/ozone/platform/wayland/host/org_gnome_mutter_idle_monitor.cc:130]
 Call to AddIdleWatch method of org.gnome.Mutter.IdleMonitor D-Bus service 
failed
- [52843:52843:0107/205512.265884:INFO:CONSOLE:6] "Successful service worker 
registration: [object ServiceWorkerRegistration]", source: 
http://localhost:8080/js/register-sw.js (6)
- 
[52843:52939:0107/205514.448695:ERROR:google_apis/gcm/engine/registration_request.cc:292]
 Registration response error message: DEPRECATED_ENDPOINT
- 
[52987:53019:0107/205542.352189:WARNING:net/extras/sqlite/sqlite_persistent_store_backend_base.cc:176]
 Failed to post task from 
FlushAndNotifyInBackground@net/extras/sqlite/sqlite_persistent_store_backend_base.cc:226
 to client_task_runner_.
- 
[52987:53019:0107/205542.352278:WARNING:net/extras/sqlite/sqlite_persistent_store_backend_base.cc:176]
 Failed to post task from 
FlushAndNotifyInBackground@net/extras/sqlite/sqlite_persistent_store_backend_base.cc:226
 to client_task_runner_.
- 
- 
  $ 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.
+   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
+   - chromium.chromedriver
+   - chromium
  services:
-   chromium.daemon: simple, disabled, inactive
+   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 -
+   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 -
- 
- 
- $ 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[gnome-46-2404]    chromium:gnome-46-2404                    
gnome-46-2404:gnome-46-2404     -
- content[gpu-2404]         chromium:gpu-2404                         
mesa-2404:gpu-2404              -
- 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                   chromium:install-cups-runtime-dependency  -         
                      -
- 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                      -
- hardware-observe          chromium:hardware-observe                 
:hardware-observe               -
- hidraw                    chromium:hidraw                           -         
                      -
- home                      chromium:home                             :home     
                      -
- joystick                  chromium:joystick                         :joystick 
                      -
- kerberos-tickets          chromium:kerberos-tickets                 -         
                      -
- 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         -         
                      -
- pcscd                     chromium:pcscd                            -         
                      -
- 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         -
- serial-port               chromium:serial-port                      -         
                      -
- system-files              chromium:etc-chromium-browser-policies    
:system-files                   -
- system-packages-doc       chromium:system-packages-doc              
:system-packages-doc            -
- timezone-control          chromium:timezone-control                 -         
                      -
- 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      
                      -
- 
  
  $ echo "$XDG_SESSION_TYPE"
  wayland
- 
- `lspci -v` output attached.
- 
  
  $ 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

** Attachment added: "snap connections chromium"
   
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2137676/+attachment/5938146/+files/snap-connections.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