[Desktop-packages] [Bug 1965189] Re: Add session migration for GNOME 42 dark theme

2022-03-19 Thread Launchpad Bug Tracker
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   Thu, 17 Mar 2022 09:49:43 -0400

** Changed in: gsettings-desktop-schemas (Ubuntu Jammy)
   Status: Fix Committed => Fix Released

-- 
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:
  Fix Released
Status in gsettings-desktop-schemas source package in Jammy:
  Fix Released

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'

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 : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1965189] Re: Add session migration for GNOME 42 dark theme

2022-03-17 Thread Jeremy Bicha
** Description changed:

  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-1ubuntu2 or higher
+ 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'

-- 
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:
  Fix Committed
Status in gsettings-desktop-schemas source package in Jammy:
  Fix Committed

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'

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 : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1965189] Re: Add session migration for GNOME 42 dark theme

2022-03-17 Thread Jeremy Bicha
** Changed in: gsettings-desktop-schemas (Ubuntu Jammy)
   Status: In Progress => Fix Committed

** Description changed:

  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
+ 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.
  
- Implementation
- --
- We need to set gsettings org.gnome.desktop.interface color-scheme 
'prefer-dark' for users using a theme name ending in "-dark"
+ 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
  
- That gsettings schema is provided by gsettings-desktop-schemas.
+ This requires gsettings-desktop-schemas 42~rc-1ubuntu2 or higher
  
- 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.
+ Or you can run this command yourself instead
+ gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'

-- 
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:
  Fix Committed
Status in gsettings-desktop-schemas source package in Jammy:
  Fix Committed

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-1ubuntu2 or higher

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

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 : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1965189] Re: Add session migration for GNOME 42 dark theme

2022-03-17 Thread Jeremy Bicha
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 : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp