Since it's gsettings-desktop-schemas that provides the new schema, Seb suggested we just add the migration there directly. Thanks!
** Package changed: gnome-settings-daemon (Ubuntu Jammy) => gsettings- desktop-schemas (Ubuntu Jammy) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gsettings-desktop-schemas in Ubuntu. https://bugs.launchpad.net/bugs/1965189 Title: Add session migration for GNOME 42 dark theme Status in gsettings-desktop-schemas package in Ubuntu: In Progress Status in gsettings-desktop-schemas source package in Jammy: In Progress 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. 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. Implementation -------------- We need to set gsettings org.gnome.desktop.interface color-scheme 'prefer-dark' for users using a theme name ending in "-dark" That gsettings schema is provided by gsettings-desktop-schemas. I don't think we should do this in ubuntu-settings because there are people using GTK desktops that don't have ubuntu-settings installed. I suggest we use dh-migrations/session-migration to do this from gnome-settings-daemon. Let me know now if there is a better place for this. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gsettings-desktop-schemas/+bug/1965189/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

