pop-os / gnome-shell

Pop!_OS fork of https://git.launchpad.net/~ubuntu-desktop/ubuntu/+source/gnome-shell
GNU General Public License v2.0
25 stars 4 forks source link

Changes to temperature units in Weather app are not reflected in gnome-shell #108

Open thewally opened 2 years ago

thewally commented 2 years ago

Distribution: NAME="Pop!_OS" VERSION="22.04 LTS" ID=pop ID_LIKE="ubuntu debian" PRETTY_NAME="Pop!_OS 22.04 LTS" VERSION_ID="22.04" HOME_URL="https://pop.system76.com" SUPPORT_URL="https://support.system76.com" BUG_REPORT_URL="https://github.com/pop-os/pop/issues" PRIVACY_POLICY_URL="https://system76.com/privacy" VERSION_CODENAME=jammy UBUNTU_CODENAME=jammy LOGO=distributor-logo-pop-os

Issue/Bug Description: The temperature unit is incorrect after changing it to celcius.

Steps to reproduce (if you know):

Expected behavior: The temperature should changed to Celcius

n3m0-22 commented 2 years ago

@thewally I have been able to replicate the issue. Can you try the following and see if it fixes it for you.

  1. Set the temperature unit to Celsius as described above
  2. Run the following command in the terminal gsettings set org.gnome.GWeather4 temperature-unit centigrade
  3. Reboot

Check if you now see Celsius in the date time drop down. You may need to open the Weather app once first if it is not already showing in the drop down.

thewally commented 2 years ago

Thanks, this solves the issue.

mmstick commented 2 years ago

This'll be fixed once the 42.1 update is released

sl1depengwyn commented 1 year ago

This'll be fixed once the 42.1 update is released

I had this issue on 42.4

n3m0-22 commented 1 year ago

I can confirm this is still an issue. By using dconf-editor to search for temperature-unit I observed the following. When the temperature unit is changed in the Weather app org.gnome.GWeather temperature-unit changes with it, but it seems the temperature-unit in the drop-down is controlled by org.gnome.GWeather4 temperature-unit. This value does not change with the Weather app. Although not a fix, this can still be changed manually to match the Weather app setting with gsettings set org.gnome.GWeather4 temperature-unit centigrade or gsettings set org.gnome.GWeather4 temperature-unit fahrenheit.

Tested with GNOME Version 42.4

lucserre commented 1 year ago

Can confirm Gnome 42.5 has same issue, and that setting the GWeather4 temperature-unit variable fixes it.