Bug 118347

Summary: Ctrl-C copies unlocalized number to the clipboard
Product: [Applications] kcalc Reporter: Johannes Sixt <johannes.sixt>
Component: generalAssignee: Klaus Niederkrüger <kniederk>
Status: RESOLVED FIXED    
Severity: normal CC: logistikka, xsov
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Johannes Sixt 2005-12-14 22:23:27 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    SuSE RPMs
OS:                Linux

The display uses the locale's decimal point, but the number that is put onto the clipboard always uses the dot.

I suggest that the clipboard contains the same string that is visible in the display, including the localized decimal point and digit groups. (The latter can be switched off if it is unwanted.)
Comment 1 Oliver Grimm 2007-03-10 16:36:35 UTC
still a bug in KDE 3.5.5
Comment 2 Oliver Grimm 2007-06-03 23:47:05 UTC
still a bug in KDE 3.5.7
Comment 3 Oliver Grimm 2007-12-10 11:10:16 UTC
Why was this bug changed to whishlist?
From a localized point of view (I'd guess most of us do not run C-locale) this is definitely a bug.
Comment 4 Oliver Grimm 2007-12-24 01:13:05 UTC
still a bug in KDE 3.5.8
Comment 5 Oliver Grimm 2008-04-19 14:39:31 UTC
still a bug in KDE 3.5.9
Comment 6 Pino Toscano 2008-06-15 12:39:06 UTC
*** Bug 147330 has been marked as a duplicate of this bug. ***
Comment 7 Oliver Grimm 2008-12-07 16:21:16 UTC
still a bug in KDE 3.5.10
Comment 8 David Johnson 2008-12-09 04:50:34 UTC
SVN commit 894670 by brandybuck:

BUG: 118347
Copy was selecting from internal KNumber value for decimal numbers.
Changed this to always select from displayed text. This preserves
any locale format (radix, grouping, etc). Also backported to 3.5
branch.


 M  +7 -11     kcalcdisplay.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=894670