Add session migration for GNOME 42 dark theme

Bug #1965189 reported by Jeremy Bícha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gsettings-desktop-schemas (Ubuntu)
Fix Released
High
Jeremy Bícha
Jammy
Fix Released
High
Jeremy Bícha

Bug Description

Test Case
---------
1. From Ubuntu 20.04 LTS or 21.10, open the Settings app. Click Appearance and choose Dark
2. Upgrade to Ubuntu 22.04 LTS
3. Log out then log back in
4. Your apps should still be dark

Linked Issue
------------
That test case is broken by the libhandy update. See LP: #1964841

We are updating gnome-control-center to set the correct gsettings value (below) when choosing a dark theme.

Workaround
----------
If you want the fix to apply without logging out at any time, you can run
session-migration --file /usr/share/session-migration/scripts/dark-theme-migration.sh

This requires gsettings-desktop-schemas 42~rc-1ubuntu3 or higher

Or you can run this command yourself instead
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'

Tags: jammy
Jeremy Bícha (jbicha)
tags: added: jammy
Revision history for this message
Jeremy Bícha (jbicha) wrote :

Since it's gsettings-desktop-schemas that provides the new schema, Seb suggested we just add the migration there directly. Thanks!

affects: gnome-settings-daemon (Ubuntu Jammy) → gsettings-desktop-schemas (Ubuntu Jammy)
Jeremy Bícha (jbicha)
Changed in gsettings-desktop-schemas (Ubuntu Jammy):
status: In Progress → Fix Committed
description: updated
Jeremy Bícha (jbicha)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gsettings-desktop-schemas - 42~rc-1ubuntu3

---------------
gsettings-desktop-schemas (42~rc-1ubuntu3) jammy; urgency=medium

  * Add dark-theme migration script using dh-migrations (LP: #1965189)

 -- Jeremy Bicha <email address hidden> Thu, 17 Mar 2022 09:49:43 -0400

Changed in gsettings-desktop-schemas (Ubuntu Jammy):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.