← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2100300] Re: gnome-calculator not doing currency conversion

 

Verified the currency conversion works from in Financial mode, but also
in Advanced mode and in Keyboard mode.

Verified other conversions in Keyboard mode, like Kilograms to Pounds
which is still working.

** Tags removed: verification-needed verification-needed-noble
** Tags added: verification-done verification-done-noble

-- 
You received this bug notification because you are a member of
Debcrafters 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:
  Fix Committed

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.

  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.

  [ 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 changes are limited to the currency conversion feature.
  Unintended side-effects may affect the other unit conversion options because the UI is shared.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-calculator/+bug/2100300/+subscriptions