Bug 118347 - Ctrl-C copies unlocalized number to the clipboard
Summary: Ctrl-C copies unlocalized number to the clipboard
Status: RESOLVED FIXED
Alias: None
Product: kcalc
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Klaus Niederkrüger
URL:
Keywords:
: 147330 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-14 22:23 UTC by Johannes Sixt
Modified: 2008-12-09 04:50 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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