Bug 118279

Summary: cut buffer is filled with wrong value when you click on results
Product: [Applications] kcalc Reporter: Evan Teran <evan.teran>
Component: generalAssignee: Klaus Niederkrüger <kniederk>
Status: RESOLVED FIXED    
Severity: normal CC: samjnaa
Priority: NOR    
Version: 2.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Evan Teran 2005-12-13 23:08:30 UTC
Version:           2.0 (using KDE 3.5.0, Gentoo)
Compiler:          gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
OS:                Linux (i686) release 2.6.14-gentoo-r4

When clicking on the result of kcalc, it is supposed to place the result, in the desired base into the cut buffer. The most recent version of kcalc seems to always place the decimal value in the cut buffer despite selected base. Although, misleading enough if you select hex it will prepend the cut with "0x"

steps to reproduce:

1) put any value into the calculate (say 1234 in decimal)
2) change base to hex/oct/bin (should display 4D2/2322/10011010010  respectivly)
3) attempt to paste in another application.
4) the cut buffer will contain "1234" regardless of selected base (and if hex is selected will prepend with "0x"
Comment 1 Klaus Niederkrüger 2006-01-13 15:20:48 UTC
Just fixed it.
Comment 2 Klaus Niederkrüger 2006-01-15 14:01:01 UTC
*** Bug 119354 has been marked as a duplicate of this bug. ***