Bug 471790 - Incorrect calculations, possibly because of formatting
Summary: Incorrect calculations, possibly because of formatting
Status: REPORTED
Alias: None
Product: Kalk
Classification: Applications
Component: General (other bugs)
Version First Reported In: 23.04.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: hanyoung
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-30 07:18 UTC by Techognito
Modified: 2023-07-18 16:08 UTC (History)
1 user (show)

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


Attachments
Region settings (43.64 KB, image/png)
2023-06-30 07:18 UTC, Techognito
Details
before adding the last 4 (55.85 KB, image/png)
2023-06-30 07:19 UTC, Techognito
Details
After adding the last 4 (52.33 KB, image/png)
2023-06-30 07:20 UTC, Techognito
Details
If i add another + (53.94 KB, image/png)
2023-06-30 07:21 UTC, Techognito
Details
If I attempt to split the calculations (4.47 KB, image/png)
2023-06-30 07:28 UTC, Techognito
Details
Still an issue on 23.04.3 (27.25 KB, image/png)
2023-07-18 07:15 UTC, Techognito
Details
Showing krunner calulation (54.73 KB, image/png)
2023-07-18 07:24 UTC, Techognito
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Techognito 2023-06-30 07:18:34 UTC
Created attachment 159988 [details]
Region settings

SUMMARY
***
When trying to add numbers together, it changes my query as I am typing
***


STEPS TO REPRODUCE
1. Add together 655,5 + 655,5 +5244 

OBSERVED RESULT
When adding the last 4 the result goes from 1834 to 14330
The query changes from 

EXPECTED RESULT
When adding the last 4 the result should be 6555

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 37
(available in About System)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION
I'm using Wayland, not sure if this could be a factor
Comment 1 Techognito 2023-06-30 07:19:44 UTC
Created attachment 159989 [details]
before adding the last 4
Comment 2 Techognito 2023-06-30 07:20:20 UTC
Created attachment 159990 [details]
After adding the last 4
Comment 3 Techognito 2023-06-30 07:21:16 UTC
Created attachment 159991 [details]
If i add another +
Comment 4 Techognito 2023-06-30 07:28:05 UTC
Created attachment 159992 [details]
If I attempt to split the calculations

It really seems to mislike the spaces in the query, they are added automatically
Comment 5 Techognito 2023-06-30 07:32:22 UTC
Oh, I just noticed, It uses a different KDE Framework than my OS:

KDE Frameworks 5.107.0 and QT 5.15.10
Comment 6 hanyoung 2023-07-01 13:32:45 UTC
Can you try the master branch of the kalk. We recently did a fix on decimal separator parsing.
Comment 7 Bug Janitor Service 2023-07-16 03:45:02 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Techognito 2023-07-18 07:15:36 UTC
Created attachment 160351 [details]
Still an issue on 23.04.3

Hi, I am not sure where to find and how to compile from source

But I updated to 23.04.3 to see if that changes anything, and it seems to be the same.
Comment 9 Techognito 2023-07-18 07:21:21 UTC
I have worked around the issue by using krunner
Comment 10 Techognito 2023-07-18 07:24:44 UTC
Created attachment 160352 [details]
Showing krunner calulation
Comment 11 hanyoung 2023-07-18 16:08:54 UTC
The fix is shipped with 23.08