Bug 514283

Summary: Temperatures '0' are represented as dashes
Product: [Plasma] plasmashell Reporter: kasimir <info>
Component: Weather widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: isma.af
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Weather widget 260701

Description kasimir 2026-01-07 16:16:50 UTC
Created attachment 188296 [details]
Weather widget 260701

SUMMARY
In the widget the maximum and minimum temperatures are listed for the next 7 days. In this overview, every temperature that has a value of '0' (zero degrees Celsius) are represented as a dash. This looks like there is no data available while in fact it seems to me a misinterpretation of the data (0 = void/false).

STEPS TO REPRODUCE
1. Live in a rather cold spot
2. Open the weather widget

OBSERVED RESULT
Temperatures of 0 degrees Celsius are displayed as dashes.

EXPECTED RESULT
Temperatures of 0 degrees Celsius should be displayed as '0 ᴼC', just like the other temperatures, to avoid the impression that no data is available.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.18.3-arch1-1 (64-bit)

ADDITIONAL INFORMATION
See attachment.
Comment 1 Ismael Asensio 2026-01-07 16:22:27 UTC

*** This bug has been marked as a duplicate of bug 512871 ***