Bug 453659 - Option to display pressure in Pascals
Summary: Option to display pressure in Pascals
Status: RESOLVED FIXED
Alias: None
Product: kdeplasma-addons
Classification: Unmaintained
Component: Weather (other bugs)
Version First Reported In: 5.24.5
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-11 14:13 UTC by Roke Julian Lockhart Beedell
Modified: 2022-05-17 16:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.25
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2022-05-11 14:13:28 UTC
STEPS TO REPRODUCE
1. Invoke "Weather Report Settings".
2. Navigate to "Units".

OBSERVED RESULT
Solely kilopascals and hectopascals are available, whereas merely pascals are the SI unit.

EXPECTED RESULT
Pascals should be available.

SOFTWARE/OS VERSIONS
Windows: Negative.
macOS: Negative.
Linux/KDE Plasma: Positive.
KDE Plasma Version: 5.24.5.
KDE Frameworks Version: 5.93.0.
Qt Version: 5.15.3.

ADDITIONAL INFORMATION
If hecto- and mili- versions, etcetera, of any measurement are desired, I suggest that they be devisible by a user-provided numerical value within the interface of Weather Report. I shall suggest this formally separately.
Comment 1 Roke Julian Lockhart Beedell 2022-05-12 14:15:04 UTC
I am certain that "https://bugs.kde.org/show_bug.cgi?id=453660" is the best method of implementation of this.
Comment 2 Nate Graham 2022-05-14 21:26:27 UTC
Git commit d7e35ace37d42f23257c69dc4ac672aa3af63b74 by Nate Graham.
Committed on 14/05/2022 at 21:25.
Pushed by ngraham into branch 'master'.

applets/weather: allow showing pressure in regular Pascals
FIXED-IN: 5.25

M  +1    -0    applets/weather/plugin/plugin.cpp

https://invent.kde.org/plasma/kdeplasma-addons/commit/d7e35ace37d42f23257c69dc4ac672aa3af63b74
Comment 3 Nate Graham 2022-05-14 21:27:59 UTC
The change above added only a single line of code and avoided adding any new UI that is visible by default (you have to click on the combobox to see the option to use Pascals as the unit) so I feel fairly confident it was the actual best way to implement the requested feature. :)
Comment 4 Roke Julian Lockhart Beedell 2022-05-15 14:07:48 UTC
However, I must disagree, because what should I do if I desire milipascals?
Comment 5 Nate Graham 2022-05-15 19:04:37 UTC
You would file a bug report asking for it. But why would you want milipascals? What's the use case?
Comment 6 Roke Julian Lockhart Beedell 2022-05-17 16:35:33 UTC
Identical rationale to what causes onself to utilise pascals or hectopascals. During some situations, different divisions are desired. Specifically for this, it reduces the mathematical buden during scientific analysis. Consequently, please reconsider implementation of `http://bugs.kde.org/show_bug.cgi?id=453660`.

Is KDE's software not supposed to be extensible and easy to maintain? What I have proposed allows that better than what currently exists.