Created attachment 187307 [details] Screenshot showing blank temperature forecast *** If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports Please remove this comment after reading and before submitting - thanks! *** SUMMARY I am using weatheroffice.gc.ca as my weather provider. Under the "7 Days" forecast, I can sometimes see that the forecast temperature is not shown (i.e., there is an icon for the forecast and directly under it is the precipitation forecast). Other days show the weather icon, temperature, and precipitation forecast) I believe this is caused by a forecast high or low of "zero" I am currently seeing this under Wednesday's upcoming forecast. The weatheroffice.gc.ca RSS feed is providing the following rss data. Note the "High zero". <entry> <title>Wednesday: Chance of flurries. High zero. POP 60%</title> <link type="text/html" href="https://weather.gc.ca/en/location/index.html?coords=45.403,-75.687"/> <updated>2025-12-02T10:00:00Z</updated> <published>2025-12-02T10:00:00Z</published> <category term="Weather Forecasts"/> <summary type="html">Becoming cloudy in the morning with 60 percent chance of flurries in the afternoon. Wind becoming southwest 20 km/h gusting to 40 early in the afternoon. High zero. Wind chill minus 14 in the morning. UV index 1 or low. Forecast issued 5:00 AM EST Tuesday 2 December 2025</summary> <id>tag:weather.gc.ca,2013-04-16:45.403-75.687_fc2:20251202100000</id> </entry> STEPS TO REPRODUCE 1. Look at a day with a forecast high or low of 0C 2. Note that the forecast temperature is not shown. OBSERVED RESULT No temperature forecast is shown EXPECTED RESULT Temperature forecast show show as 0C SOFTWARE/OS VERSIONS Operating System: Fedora Linux 43 KDE Plasma Version: 6.5.3 KDE Frameworks Version: 6.20.0 Qt Version: 6.10.1 ADDITIONAL INFORMATION
I can see in the code how this would happen. In this case we should have a "-" or "?" character or say "unknown" or something.
(In reply to Nate Graham from comment #1) > I can see in the code how this would happen. In this case we should have a > "-" or "?" character or say "unknown" or something. I believe it should report 9C as the highnor low in this case - is that right? Thanks!
(In reply to Jason Benwell from comment #2) > (In reply to Nate Graham from comment #1) > > I can see in the code how this would happen. In this case we should have a > > "-" or "?" character or say "unknown" or something. > > I believe it should report 9C as the highnor low in this case - is that > right? Thanks! Sorry for the typos. I believe it should report 0C as the high or low in this case - is that right?
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/964
Git commit ee9f587cbd8b00b581f44a959f421696a86ffe8b by Ismael Asensio. Committed on 23/12/2025 at 15:06. Pushed by iasensio into branch 'master'. applets/weather: Fix visibility for zero degrees temperatures When showing temperatures in the forecast delegates, we cannot check for "trueness" of the value in order to hide it, as 0ºC (or even 0ºF) are valid temperatures. Check instead if the value has been set. Javascript's `isNaN()` is very handy, since it works for both `nan`vand `undefined`. FIXED-IN: 6.5.90 M +4 -4 applets/weather/qml/ForecastView.qml https://invent.kde.org/plasma/kdeplasma-addons/-/commit/ee9f587cbd8b00b581f44a959f421696a86ffe8b
Git commit 36284870593d925e1ff073ab7fc99370e27f5509 by Ismael Asensio. Committed on 23/12/2025 at 19:06. Pushed by iasensio into branch 'Plasma/6.5'. applets/weather: Fix visibility for zero degrees temperatures When showing temperatures in the forecast delegates, we cannot check for "trueness" of the value in order to hide it, as 0ºC (or even 0ºF) are valid temperatures. Check instead if the value has been set. Javascript's `isNaN()` is very handy, since it works for both `nan`vand `undefined`. FIXED-IN: 6.5.90 (cherry picked from commit ee9f587cbd8b00b581f44a959f421696a86ffe8b) Co-authored-by: Ismael Asensio <isma.af@gmail.com> M +4 -4 applets/weather/qml/ForecastView.qml https://invent.kde.org/plasma/kdeplasma-addons/-/commit/36284870593d925e1ff073ab7fc99370e27f5509