gnome-shell icon indicating copy to clipboard operation
gnome-shell copied to clipboard

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

Open thewally opened this issue 2 years ago • 6 comments

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):

  • click on date time in status bar
  • click on weather
  • change the temperature unit to celcius via hamburger menu
  • close weather app
  • click again on date time in status bar
  • temperature unit is still Fahrenheid

Expected behavior: The temperature should changed to Celcius

thewally avatar May 20 '22 10:05 thewally

@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.

n3m0-22 avatar May 20 '22 18:05 n3m0-22

Thanks, this solves the issue.

thewally avatar May 20 '22 18:05 thewally

This'll be fixed once the 42.1 update is released

mmstick avatar May 20 '22 19:05 mmstick

This'll be fixed once the 42.1 update is released

I had this issue on 42.4

sl1depengwyn avatar Sep 20 '22 11:09 sl1depengwyn

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

n3m0-22 avatar Sep 20 '22 14:09 n3m0-22

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

lucserre avatar Jan 03 '23 21:01 lucserre