Bug 304159 - paste doesn't work with specific period
Summary: paste doesn't work with specific period
Status: RESOLVED FIXED
Alias: None
Product: kcalc
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Evan Teran
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-27 21:38 UTC by icegood
Modified: 2015-03-30 18:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description icegood 2012-07-27 21:38:35 UTC
My period setting is ','. Kcalc used that period. But if i try to paste directly to Kcalc from clipboard:
1) 123.456  => it shows NAN on screen
2) 123,456  => it shows 0 on screen

Reproducible: Always

Steps to Reproduce:
1.  set period for numbers in locale system to ',' comma
2. copy number to clipboard either with . Or ','
3. paste to Kcalc
Actual Results:  
NAN or 0

Expected Results:  
number in clipdoard

uname -a:
Linux ubuntu 3.2.0-27-generic #43-Ubuntu SMP Fri Jul 6 14:25:57 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

kubuntu atually (ubuntu+KDE)

KCalc
Version 2.11
Using KDE Development Platform 4.8.4 (4.8.4)
Comment 1 Evan Teran 2013-01-11 02:03:57 UTC
should be resolved in the upcoming KDE 4.10 release
Comment 2 Adrien 2015-03-30 18:28:49 UTC
Hi,

This bug is mark as solved , but I am still see it on Debian testing, with KDE 4.14.0

I am using the french localisation.