Public bug reported:
This bug is about inputting data in "Programming Mode -> Binary mode" in
the gnome-calculator snap.
1)
Description: Ubuntu 18.10
Release: 18.10
2) - Its the default snap - so I guess this?
gnome-calculator 3.32.0+git2.cae338ea 352 stable/…
canonical✓ -
3)
When inputting data in binary format, you should be able to lead with an
arbitrary amount of zeros. When accepting the input (by pressing enter, or
clicking equals) the answer should be the value you entered (less the leading
zero)
01001 <press enter> = 1001
010101001 <press enter> = 10101001
4)
I you lead your input with zeros and input more than 2 digits (with an obvious
'1' being in there) there is a large quantity of inserted zero's in the output,
obviously making the value totally different to what you input.
For instance the input:
01001 <press enter> = 1000000001
010101001 <press enter> =1000001000001000000001
However leading with a 1 produces the correct result:
100000100000 <press enter> = 100000100000
The obvious answer is do not lead with a zero. But monkey see monkey do
when inputting data.
** Affects: gnome-calculator (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "gnome calculator binary bug.png"
https://bugs.launchpad.net/bugs/1821126/+attachment/5248102/+files/gnome%20calculator%20binary%20bug.png
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-calculator in Ubuntu.
https://bugs.launchpad.net/bugs/1821126
Title:
Leading zero in "Programming Mode -> Binary" inserts extra zeros
Status in gnome-calculator package in Ubuntu:
New
Bug description:
This bug is about inputting data in "Programming Mode -> Binary mode"
in the gnome-calculator snap.
1)
Description: Ubuntu 18.10
Release: 18.10
2) - Its the default snap - so I guess this?
gnome-calculator 3.32.0+git2.cae338ea 352 stable/…
canonical✓ -
3)
When inputting data in binary format, you should be able to lead with an
arbitrary amount of zeros. When accepting the input (by pressing enter, or
clicking equals) the answer should be the value you entered (less the leading
zero)
01001 <press enter> = 1001
010101001 <press enter> = 10101001
4)
I you lead your input with zeros and input more than 2 digits (with an
obvious '1' being in there) there is a large quantity of inserted zero's in the
output, obviously making the value totally different to what you input.
For instance the input:
01001 <press enter> = 1000000001
010101001 <press enter> =1000001000001000000001
However leading with a 1 produces the correct result:
100000100000 <press enter> = 100000100000
The obvious answer is do not lead with a zero. But monkey see monkey
do when inputting data.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-calculator/+bug/1821126/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp