Bug#378187: [Pkg-xfce-devel] Bug#378187: xfce4-weather-plugin: Fahrenheit or Imperial temperature is incorrectly the same as Celsius
On Fri, 14 Jul 2006 09:23:30 +0100
Simon Huggins <firstname.lastname@example.org> wrote:
> We can't help you if the readings you get from the net are wrong I'm
> afraid but...
Fear not! I was online at the time and had correct local Celsius
readings in X4WP. It's improbable that the 01719 station's readings
would be correct for Celsius but not Fahrenheit, and too coincidental
how the correct Celsius numbers were the same as the incorrect
> > Note: after I typed the above, the Fahrenheit display switched to
> > the correct one, 64 degrees right now. While I was writing the
> > above my modem's PPP connection was kept very busy by file
> > transfers and background jobs. I'm guessing that X4WP must have
> > been waiting for some network event before it could display things
> > correctly. Not as bad, but still a bug, as it needs no network to
> > convert a temperature. I'll try to test this later when I'm offline.
Progress: I did the test, and here's how it went...
1) Online, with X4WP giving correct local Fahrenheit readings.
2) Online, switched to Metric. Still correct.
3) Disconnected, offline. Switched to Imperial -- no reading,
and the tooltip says "cannot update weather data".
X4WP already had good data and wouldn't need to go online
to multiply by 9, divide by 5, and add 32.
I'm guessing the bug is connected to the 'properties' window, there's
probably some generic update routine that's necessary when the location
code is changed. But X4WP seems to be calling it when anything in
'properties' is changed -- even the units. If you need more evidence,
I'd be glad to fire up 'ethereal' and examine the packets for X4WP's