[Kalk] [Bug 507525] Kalk doesn't understand decimal separators

2025-08-13 Thread Devin Lin
https://bugs.kde.org/show_bug.cgi?id=507525

--- Comment #11 from Devin Lin  ---
(In reply to jamal_ali1989 from comment #10)
> When will this update be pushed to Flathub? It is still 25.04.3 there.

Hello, 25.08 is coming out today, it should be in Flathub in the near future.

https://community.kde.org/Schedules/KDE_Gear_25.08_Schedule

-- 
You are receiving this mail because:
You are watching all bug changes.

[Kalk] [Bug 507525] Kalk doesn't understand decimal separators

2025-08-13 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=507525

--- Comment #10 from [email protected] ---
When will this update be pushed to Flathub? It is still 25.04.3 there.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Kalk] [Bug 507525] Kalk doesn't understand decimal separators

2025-08-06 Thread Devin Lin
https://bugs.kde.org/show_bug.cgi?id=507525

Devin Lin  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/util |https://invent.kde.org/util
   |ities/kalk/-/commit/b452c5a |ities/kalk/-/commit/445b382
   |3460b78fe6deff3ff9d95f7ca21 |f56ff83261edf70b2f2b14f5ee8
   |838c28  |4cb4f0

--- Comment #9 from Devin Lin  ---
Git commit 445b382f56ff83261edf70b2f2b14f5ee84cb4f0 by Devin Lin, on behalf of
Albin ZE.
Committed on 06/08/2025 at 15:13.
Pushed by devinlin into branch 'release/25.08'.

Fix: Correctly handle locale-specific decimal separators
Related: bug 501116, bug 501190

Fixes a bug where locales that use a comma for decimals, like de_DE, would
break calculations. The comma wasn't being converted to a period for the math
engine, leading to it being misinterpreted and causing weird results. This now
handles the conversion before and after the calculation.

This was originally created as
https://invent.kde.org/utilities/kalk/-/merge_requests/118, but was
updated by @devinlin to expedite getting the fix in due to its severity.

M  +6-1src/qalculateengine.cpp

https://invent.kde.org/utilities/kalk/-/commit/445b382f56ff83261edf70b2f2b14f5ee84cb4f0

-- 
You are receiving this mail because:
You are watching all bug changes.

[Kalk] [Bug 507525] Kalk doesn't understand decimal separators

2025-07-31 Thread Devin Lin
https://bugs.kde.org/show_bug.cgi?id=507525

Devin Lin  changed:

   What|Removed |Added

   Version Fixed In||25.08.0

-- 
You are receiving this mail because:
You are watching all bug changes.

[Kalk] [Bug 507525] Kalk doesn't understand decimal separators

2025-07-31 Thread Devin Lin
https://bugs.kde.org/show_bug.cgi?id=507525

Devin Lin  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/util
   ||ities/kalk/-/commit/b452c5a
   ||3460b78fe6deff3ff9d95f7ca21
   ||838c28

--- Comment #8 from Devin Lin  ---
Git commit b452c5a3460b78fe6deff3ff9d95f7ca21838c28 by Devin Lin, on behalf of
Albin ZE.
Committed on 31/07/2025 at 23:12.
Pushed by devinlin into branch 'master'.

Fix: Correctly handle locale-specific decimal separators
Related: bug 501116, bug 501190

Fixes a bug where locales that use a comma for decimals, like de_DE, would
break calculations. The comma wasn't being converted to a period for the math
engine, leading to it being misinterpreted and causing weird results. This now
handles the conversion before and after the calculation.

This was originally created as
https://invent.kde.org/utilities/kalk/-/merge_requests/118, but was
updated by @devinlin to expedite getting the fix in due to its severity.

M  +6-1src/qalculateengine.cpp

https://invent.kde.org/utilities/kalk/-/commit/b452c5a3460b78fe6deff3ff9d95f7ca21838c28

-- 
You are receiving this mail because:
You are watching all bug changes.

[Kalk] [Bug 507525] Kalk doesn't understand decimal separators

2025-07-31 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=507525

--- Comment #7 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/utilities/kalk/-/merge_requests/119

-- 
You are receiving this mail because:
You are watching all bug changes.

[Kalk] [Bug 507525] Kalk doesn't understand decimal separators

2025-07-27 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=507525

--- Comment #6 from [email protected] ---
(In reply to Albin from comment #5)
> Yeah - with the same locales as you, it does produce the same result. I'll
> get to work fixing it.

If I may ask, do those brackets mean some other mathematical operation or it is
simply a bug?

-- 
You are receiving this mail because:
You are watching all bug changes.

[Kalk] [Bug 507525] Kalk doesn't understand decimal separators

2025-07-27 Thread Albin
https://bugs.kde.org/show_bug.cgi?id=507525

Albin <[email protected]> changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |ASSIGNED
 Ever confirmed|0   |1

--- Comment #5 from Albin <[email protected]> ---
Yeah - with the same locales as you, it does produce the same result. I'll get
to work fixing it.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Kalk] [Bug 507525] Kalk doesn't understand decimal separators

2025-07-27 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=507525

--- Comment #4 from [email protected] ---
When you use commas, don't you get those weird square brackets? 
So, this is my locale file: 
LANG=en_GB.UTF-8
LC_MEASUREMENT=en_DE.UTF-8
LC_MONETARY=de_DE.UTF-8
LC_NUMERIC=de_DE.UTF-8
LC_TIME=de_DE.UTF-8

-- 
You are receiving this mail because:
You are watching all bug changes.

[Kalk] [Bug 507525] Kalk doesn't understand decimal separators

2025-07-27 Thread Albin
https://bugs.kde.org/show_bug.cgi?id=507525

Albin <[email protected]> changed:

   What|Removed |Added

 CC||[email protected]
 Resolution|--- |WAITINGFORINFO
 Status|REPORTED|NEEDSINFO

--- Comment #3 from Albin <[email protected]> ---
Could you specify precisely what locale you're using and make sure it's enabled
in your locale config files. As the locale sv_SE works fine for me with commas
as decimals.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Kalk] [Bug 507525] Kalk doesn't understand decimal separators

2025-07-26 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=507525

--- Comment #2 from [email protected] ---
My locate uses commas instead of dots as a decimal separator. However, the app
fails to realize this, when I put in commas as decimal separator it interprets
it in a completely different way, so using fractions is basically impossible

-- 
You are receiving this mail because:
You are watching all bug changes.

[Kalk] [Bug 507525] Kalk doesn't understand decimal separators

2025-07-26 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=507525

--- Comment #1 from [email protected] ---
My locate uses commas instead of dots as a decimal separator. However, the app
fails to realize this, when I put in commas as decimal separator it interprets
it in a completely different way, so using fractions is basically impossible

-- 
You are receiving this mail because:
You are watching all bug changes.