Bug 488167

Summary: Loss of the thousands separator for digit grouping makes it very hard to read/type
Product: [Applications] kcalc Reporter: bugsie <bugsie>
Component: generalAssignee: Gabriel Barrantes <gabriel.barrantes.dev>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gabriel.barrantes.dev, heitorm_silva, popov895
Priority: NOR    
Version First Reported In: 24.05.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=488037
https://bugs.kde.org/show_bug.cgi?id=408752
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: KCalc Plasma 6 vs Plasma 5
current

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 ***