This forum has been archived. All content is frozen. Please use KDE Discuss instead.

kcalc copy/paste does not work with comma as decimal point

Tags: None
(comma "," separated)
y.minus
Registered Member
Posts
11
Karma
0
When copying a decimal number in German notation from kcalc's display (e.g. 123,450000000) pasting it back to kcalc gives: 0

When pasting a decimal number in English notation (e.g. 123.450000000) kcalc does not recognize it as a valid number and shows: nan

When pasting an integer (e.g. 123) it works: kcalc shows: 123,000000000

It works when I set the decimal separator to "." in KDE System Settings but that is not what I want.

Should I report a bug?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
This certainly seems like a bug - it is likely the decimal seperator is hardcoded in KCalc to "." in some areas but not others...


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
eticre
Registered Member
Posts
19
Karma
0
OS
hi
tested with same result.

https://bugs.kde.org/show_bug.cgi?id=304159

i have compiled and run with qtcreator and all works fine, if i recompile it from archlinux ABS and reinstall this bug return.
if i recompile and reinstall from kde source it works.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Please file the bug with Arch then, or wait for them to update to the latest version of KDE.
This bug is either specific to the Arch packages, or has already been fixed in the latest version of KCalc based on the information above.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell