There was a problem while pasting from clipboard. The pasted data must be filtered at least to avoid incorrect input.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcalctool (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gcalctool
The input from the keyboard is filtered to avoid wrong syntax or number format.
But, we can paste anything there from the clipboard. So, I've got "11101 1101" in my
clipboard. I would like to convert the value from binary to decimal. And I've got a wrong
number format error. Then, I tried to paste some text there and it was successful.
I think some filtering must occur on the pasted data to avoid these problems.
ProblemType: Bug
Architecture: i386
Date: Tue Feb 19 16:27:18 2008
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/gcalctool
NonfreeKernelMo
Package: gcalctool 5.20.2-0ubuntu1
PackageArchitec
ProcCmdline: gcalctool
ProcCwd: /home/hispid
ProcEnviron:
PATH=/
LANG=ru_RU.UTF-8
SHELL=/bin/bash
SourcePackage: gcalctool
Uname: Linux dmitry 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux
Marking as invalid. Can only paste one value at a time in gcalctool. 11101 yields 29, 1101 yields 13. "11101 1101" yields "No sane value to convert." Am I missing something? Filtering does need to occur on pasted data. The user needs to filter the data such that only one sane value gets pasted at a time in gcalctool. Spaces are treated as delimiters so that "11101 1101" is really two values. Should automatic concatenation of spaces be used in gcalctool? Not sure.