Bug 453660

Summary: Allow configurable automatic division and multiplication of methods of measurement.
Product: [Unmaintained] kdeplasma-addons Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: WeatherAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: nate
Priority: NOR    
Version First Reported In: 5.24.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Roke Julian Lockhart Beedell 2022-05-11 14:18:58 UTC
STEPS TO REPRODUCE
1. Invoke "Weather Report Settings".
2. Navigate to "Units".

OBSERVED RESULT
I am solely able to choose mili and hecto as numeric modifications of the method of measurement for pressure, and none are available for some alternative methods of measurement. This is silly, so I propose an alternative method of implementation that shall please everybody by causing the code to be more easy to maintain, and support edge-cases.

EXPECTED RESULT
Instead of unnecessary limitation of choice of how much any method of measurement is divisible by, the amount that any method of measurement is divisible by should be configurable. If I want milipascals, or milikelvin, this allows that. If I want 1000 times less or more than that, this allows that, and less complexly than the previous version did.

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
"http://bugs.kde.org/show_bug.cgi?id=453659" caused me to realise that this is desirable, and more easy to maintain.
Comment 1 Roke Julian Lockhart Beedell 2022-05-12 14:14:41 UTC
Implementation of this would accomplish "http://bugs.kde.org/show_bug.cgi?id=453659".
Comment 2 Nate Graham 2022-05-12 15:27:58 UTC
I don't think that's feasible, sorry. It would be super overkill and lead to a cluttered UI. We can just add Pascals as a unit.
Comment 3 Roke Julian Lockhart Beedell 2022-05-12 20:05:38 UTC
(In reply to Nate Graham from comment #2)
> I don't think that's feasible, sorry. It would be super overkill and lead to
> a cluttered UI. We can just add Pascals as a unit.

It would merely require a text-box beside the drop-down menu.