Comment 2 for bug 1209326

Revision history for this message
floid (jkanowitz) wrote : Re: calculator fails to do proper calculatoins after CTRL+Z and Enter

Glad I'm not crazy. Recorded what I thought were steps to reproduce with gnome-calculator 1:3.8.1-0ubuntu1:

Enter:
5994.34 * .50
see 5994.34 x .50 displayed
hit enter
result: 2997.17

^Z undo

see 5994.34 x .50 displayed
hit enter
result: 1498.585

^Z undo

see 5994.34 x .50 displayed
hit enter
result: 749.2925

... however it seems like state has to go crazy as indicated by the "5994.34" in "5994.34 x .50" becoming boldface like an unedited result - making the actual outcome equivalent to hitting return without editing the formula to repeat the last operation (*.50), and meaning the above steps failed to reproduce it after some fiddling where it was "not in the mood" to mistreat the formula as an untouched result as apparently indicated by showing boldface.

Nasty.