Bug 477346 - Fahrenheit and Celsius temperatures on CompactRepresentation can use different font sizes
Summary: Fahrenheit and Celsius temperatures on CompactRepresentation can use differen...
Status: RESOLVED WORKSFORME
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: Weather (show other bugs)
Version: 5.27.9
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2023-11-21 21:12 UTC by sakikaren5
Modified: 2024-11-14 03:46 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot showing between farenheit and celsius (1.46 MB, image/png)
2023-11-21 21:12 UTC, sakikaren5
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sakikaren5 2023-11-21 21:12:14 UTC
Created attachment 163348 [details]
Screenshot showing between farenheit and celsius

**SUMMARY**
***
*NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See [Debugging Guidelines](https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports).*
***

**STEPS TO REPRODUCE**
1. Use the Weather Report widget.
2. In the 'Appearance' settings, tick 'Beside the widget icon' for 'Show Temperature.'
3. In 'Units,' choose either Fahrenheit or Kelvins.
4. Select a city with temperature information and observe the font size in the panel.
5. In 'Units,' choose Celsius and observe the font size in the panel.

**OBSERVED RESULT**
Kelvins and Fahrenheit temperatures are displayed at the correct font size, while Celsius is not.

**EXPECTED RESULT**
All temperature units should be displayed at the same font size.

**SOFTWARE/OS VERSIONS**
- Linux/KDE Plasma: Arch Linux
- KDE Plasma Version: 5.27.9
- KDE Frameworks Version: 5.112.0
- Qt Version: 5.15.11
- Wayland
**ADDITIONAL INFORMATION**
In the included screenshot, I've added two margins between the weather widget.
Issue is still reproducible with undocked panel
Comment 1 sakikaren5 2023-11-21 21:23:37 UTC
**ADDITIONAL INFORMATION**
- The issue affects several BBC Weather cities, including Amiens, France, Westminister (MD), and Tokyo. However, some cities, such as Westminister (CA), (CO), (MA), or even the Tokyo airport, are not affected.
- Cities from the German Weather Service are also impacted, with London exhibiting the issue, while others like Paris are not affected.
- Additionally, cities from NOAA's Weather Service are experiencing the same problem.
Comment 2 sakikaren5 2023-11-22 05:44:18 UTC
For German Weather Service, Paris is now affected
Comment 3 Nate Graham 2023-11-29 22:42:18 UTC
Can reproduce. I suspect what's going on is that the text size is bounded by the available space, which is internally limited. the Fahrenheit tempeature uses more numbers, so there's not as much horizontal space, so the text size adjusts down.
Comment 4 Tom 2023-12-04 19:39:12 UTC
(In reply to Nate Graham from comment #3)
> Can reproduce. I suspect what's going on is that the text size is bounded by
> the available space, which is internally limited. the Fahrenheit tempeature
> uses more numbers, so there's not as much horizontal space, so the text size
> adjusts down.

Do we want minimum width value in this case? I think that is expected behavior.
Comment 5 Nate Graham 2023-12-04 21:16:54 UTC
Yeah probably.
Comment 6 Pedro 2024-10-15 18:28:29 UTC
Thank you for the bug report, sakikaren5. We tried to reproduce this bug in KDE Plasma 6.1.5 and it seems it has been fixed. May we ask you to please check if this is still an issue in a more recent version of Plasma?
Comment 7 Bug Janitor Service 2024-10-30 03:46:52 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2024-11-14 03:46:46 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.