Bug 488167 - Loss of the thousands separator for digit grouping makes it very hard to read/type
Summary: Loss of the thousands separator for digit grouping makes it very hard to read...
Status: RESOLVED DUPLICATE of bug 488037
Alias: None
Product: kcalc
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.05.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Gabriel Barrantes
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-07 15:43 UTC by bugsie
Modified: 2024-06-26 02:28 UTC (History)
3 users (show)

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


Attachments
KCalc Plasma 6 vs Plasma 5 (35.08 KB, image/png)
2024-06-07 15:43 UTC, bugsie
Details
current (72.28 KB, image/png)
2024-06-07 19:01 UTC, Gabriel Barrantes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugsie 2024-06-07 15:43:03 UTC
Created attachment 170230 [details]
KCalc Plasma 6 vs Plasma 5

SUMMARY 
The loss/regression/bug? of any kind of thousands separator for digit grouping in contrast to what Kcalc for Plasma 5 used to have makes it very hard to read/type numbers with many digits.


STEPS TO REPRODUCE
1. Open Kcalc 
2. Type 30000000 (30 million)
3. 

OBSERVED RESULT
You see 30000000 


EXPECTED RESULT
You should see the number with any kind of a thousand separator, like
30.000.000
30,000,000
30 000 000

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.90
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.9.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 1 Gabriel Barrantes 2024-06-07 19:01:05 UTC
Created attachment 170237 [details]
current
Comment 2 Gabriel Barrantes 2024-06-07 19:02:25 UTC
The input display doesn't have it implemented, but the result display still has the functionality.
Comment 3 popov895 2024-06-19 12:49:38 UTC
You can use QLocale::groupSeparator() to remove the group separator before the evaluation and add a group separator when displaying the evaluation result.
Comment 4 Heitor da Silva 2024-06-25 00:26:19 UTC
Inserting the localized separators in history and input display will improve user experience.
Comment 5 Gabriel Barrantes 2024-06-26 02:28:52 UTC

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