Bug 198239 - LCD Weather Station shows extra .0 in temperatures
Summary: LCD Weather Station shows extra .0 in temperatures
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-weather (show other bugs)
Version: unspecified
Platform: openSUSE Unspecified
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 203094 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-29 05:29 UTC by David Rankin
Modified: 2009-12-11 17:05 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
LCD WeatherStation Screenshot (10.43 KB, image/jpeg)
2009-06-29 18:34 UTC, David Rankin
Details
WeatherForecast Text Overrun (31.76 KB, image/jpeg)
2009-06-29 18:35 UTC, David Rankin
Details
All Weather Applets Update Interval (35.11 KB, image/jpeg)
2009-06-29 18:37 UTC, David Rankin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Rankin 2009-06-29 05:29:10 UTC
Version:            (using KDE 4.2.90)
Installed from:    SuSE RPMs

Both weather stations widgets are broken in kde 4.3 Beta 2 (4.2.90). Specifically, the Weather Forecast widget experiences text overrun and the update interval cannot be set to less that 30 minutes:

http://www.3111skyline.com/download/openSUSE_bugs/kde4/screenshots/widget-WeatherForecase-TextOverrun.jpeg

http://www.3111skyline.com/download/openSUSE_bugs/kde4/screenshots/widget-WeatherForecast-UpdtInterval.jpeg

The update interval needs to be configurable in 1 minute intervals. Many of the weather stations used by the applets AWOS stations that issue SPECI special bulletins when weather criteria hazardous to aviation occur. That information is needed when it occurs, not on kde4's 30min, 40min, etc.. schedule. Just use a simple integer input like has always been done to allow the update interval to be set by the user...

Next: The LCD Weather Station widget is blank regardless of which weather source is chosen. I tried Dallas/Addison (KADS), Nacogdoches Regional (KOCH), and a number of other stations and the LCD widget would not display a thing:

http://www.3111skyline.com/download/openSUSE_bugs/kde4/screenshots/widget-LCDWeatherStation-blank.jpeg

Both applets look cool and would be very useful if they would just work. Let me know if you need more info. Thanks.
Comment 1 Anne-Marie Mahfouf 2009-06-29 08:38:02 UTC
Please attach the files directly in the bug report, do not use an online service, thanks in advance. The first picture is unreachable.
Comment 2 Marco Martin 2009-06-29 15:19:10 UTC
those are 2 issues: the update time and the fact that now the applets do not work anymore, thats bug 197712
Comment 3 David Rankin 2009-06-29 18:33:13 UTC
Sorry for the typo in the first image:

http://www.3111skyline.com/download/openSUSE_bugs/kde4/screenshots/widget-WeatherForecast-TextOverrun.jpeg

The images are not on a "service", they are on my server. I'll attach them if you like, but generally everyone else has preferred images just be posted on my site.
Comment 4 David Rankin 2009-06-29 18:34:10 UTC
Created attachment 34912 [details]
LCD WeatherStation Screenshot
Comment 5 David Rankin 2009-06-29 18:35:48 UTC
Created attachment 34913 [details]
WeatherForecast Text Overrun

Damn it is frustrating that konqueror doesn't remember the last directory where a file was uploaded from anymore....
Comment 6 David Rankin 2009-06-29 18:37:03 UTC
Created attachment 34914 [details]
All Weather Applets Update Interval

ditto on konqueror not remembering the last file directory....
Comment 7 Shawn Starr 2009-07-01 00:27:38 UTC
Ideally the ion should be able to initiate when an update happens. However, right now we set a minimum of 30 minutes to prevent overwhelming the providers.
Comment 8 David Rankin 2009-08-08 05:51:34 UTC
LCD weather station looks fixed, but the Weather Forecast Widget still experiences horrible text overrun and resizing the widget to make the widgetbig enough for the text, that makes the widget take up 1/2 the screen.

The font needs to be a user selection so it can be set as large or as small as needed. Here is a current screenshot from 4.3-0.1

http://www.3111skyline.com/download/openSUSE_bugs/kde4/screenshots/weather-working.jpeg
Comment 9 Shawn Starr 2009-08-08 05:56:54 UTC
In trunk I have moved all the details information into a 'Currently' Tab, we still have that text overrun problem at the moment. We are looking at how to to fix this
Comment 10 Shawn Starr 2009-08-13 22:46:13 UTC
*** Bug 203094 has been marked as a duplicate of this bug. ***
Comment 11 Dave Ulrick 2009-08-28 01:32:43 UTC
I've used the LCD Weather Plasmoid since KDE 4.2.2.  It works fine for me in 4.3.0 other than the fact that the temperature always displays with a ".0".  So far, 0 is the only digit I've seen after the decimal point.  Under 4.2.2, I would have seen "60" degrees, but under 4.3.0 I see "60.0" degrees.  The screenshot linked in comment #8 illustrates this new behavior.

Personally, I'd like to see the ".0" disappear or make the temperature's displayed precision a user-configurable option.  If '0' is the only decimal value that's ever going to appear, displaying it seems to unnecessarily clutter the display especially if the plasmoid is docked in the panel.
Comment 12 Shawn Starr 2009-08-28 02:06:11 UTC
I am renaming this bug because the issues in Weather Forecast (for KDE 4.4) are fixed.
Comment 13 Petri Damstén 2009-12-11 17:05:44 UTC
SVN commit 1061389 by pdamsten:

Show decimals only for datasources that have it.
BUG:198239

 M  +9 -5      weatherstation.cpp  
 M  +1 -1      weatherstation.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1061389