** Description changed:

- When selecting financial mode, the currency conversion (for any
- currency) is not done.
+ [ Impact ]
  
- We have reinstalled, purged and reinstalled, but the problem remains.
- This is new since upgrading to 24.04.
+ When trying to perform currency conversion in gnome-calculator, the
+ values remain unchanged instead.
  
- As a test, we installed mate-calc, which has the exact same problem.
+ The HTTP endpoint that gnome-calculator uses to fetch up-to-date
+ currency conversion rates has started requiring a valid User-Agent.
+ gnome-calculator wasn't setting any user agent, so it now fails to
+ download the data.
  
- Ubuntu 24.04.2 LTS
- gnome-calculator: 46.1
- x11
+ [ Test Plan ]
+ 
+ 1. Open "Calculator"
+ 2. Select "Financial" mode from the top-center menu
+ 3. Verify that the currency conversion section is visible
+ 4. Select two currencies like "Euro" and "US Dollar"
+ 5. Insert a number
+ 6. Verify that the conversion was performed and the result is visible
+ 
+ [ Where problems could occur ]
+ 
+ The patch both adds a user agent string, and changes the HTTP end-point
+ to one hosted by GNOME (which I believe just acts as a proxy) to avoid
+ the same class of problems in the future.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-calculator in Ubuntu.
https://bugs.launchpad.net/bugs/2100300

Title:
  gnome-calculator not doing currency conversion

Status in gnome-calculator package in Ubuntu:
  Fix Released
Status in gnome-calculator source package in Jammy:
  New
Status in gnome-calculator source package in Noble:
  New

Bug description:
  [ Impact ]

  When trying to perform currency conversion in gnome-calculator, the
  values remain unchanged instead.

  The HTTP endpoint that gnome-calculator uses to fetch up-to-date
  currency conversion rates has started requiring a valid User-Agent.
  gnome-calculator wasn't setting any user agent, so it now fails to
  download the data.

  [ Test Plan ]

  1. Open "Calculator"
  2. Select "Financial" mode from the top-center menu
  3. Verify that the currency conversion section is visible
  4. Select two currencies like "Euro" and "US Dollar"
  5. Insert a number
  6. Verify that the conversion was performed and the result is visible

  [ Where problems could occur ]

  The patch both adds a user agent string, and changes the HTTP end-
  point to one hosted by GNOME (which I believe just acts as a proxy) to
  avoid the same class of problems in the future.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-calculator/+bug/2100300/+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

Reply via email to