Public bug reported:

This bug happens with dark mode enabled, whenever I open Settings with 
Appearance pane open, or I enter Appearance pane from other panes in Settings.
Whenever I do so, the app theme for legacy GTK3 applications (those not 
supporting the new GTK dark mode API) inadvertently changes to light mode. To 
turn back dark mode on for legacy apps, 
I have to use the toggle in Quick Settings, or click on any of the theme 
circles.

Normally, the dark mode theme for legacy apps should not change whenever 
Settings is opened with Appearance pane open, or Appearance pane is selected 
from other panes in Settings, just like
GTK3 applications using the new dark mode API, and  GTK4+libadwaita apps (which 
are not affected by this bug).

A recording of the bug in action is attached along with this report.

Ubuntu release details:
Description:    Ubuntu 22.10
Release:        22.10

Package details: 
gnome-control-center:
  Installed: 1:43.0-1ubuntu2
  Candidate: 1:43.0-1ubuntu2
  Version table:
 *** 1:43.0-1ubuntu2 500
        500 http://ae.archive.ubuntu.com/ubuntu kinetic/main amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: gnome-control-center 1:43.0-1ubuntu2
ProcVersionSignature: Ubuntu 5.19.0-23.24-generic 5.19.7
Uname: Linux 5.19.0-23-generic x86_64
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sat Nov 19 17:32:30 2022
InstallationDate: Installed on 2022-09-24 (56 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
SourcePackage: gnome-control-center
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gnome-control-center (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug kinetic third-party-packages wayland-session

** Attachment added: "Screen capture showing the bug in action. It shows two 
apps: (Gufw (legacy GTK3), Software & Updates (GTK3 with new dark mode API 
support), and Settings (GTK4+libadwaita)"
   
https://bugs.launchpad.net/bugs/1997147/+attachment/5631569/+files/Screencast%20from%202022-11-19%2017-42-54.webm

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/1997147

Title:
  App theme for legacy GTK3 apps inadvertently changes to light mode
  when Appearance pane in Settings is clicked/made active in Ubuntu
  22.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1997147/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to