Bug 118279 - cut buffer is filled with wrong value when you click on results
Summary: cut buffer is filled with wrong value when you click on results
Status: RESOLVED FIXED
Alias: None
Product: kcalc
Classification: Applications
Component: general (show other bugs)
Version: 2.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Klaus Niederkrüger
URL:
Keywords:
: 119354 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-13 23:08 UTC by Evan Teran
Modified: 2006-01-15 14:01 UTC (History)
1 user (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 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. ***