Hi, thanks for your interest.

Bug reported as asked :


You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-calculator in Ubuntu.

  digit transformed into exponent if moving between typing of two *

Status in gnome-calculator package in Ubuntu:

Bug description:
  Open gnome-calculator

  Write (or compute) a number, let's type 9×9×9×9×9×9×9×9×9×9×9×9, enter.
  Or type directly 282429536481.

  What is observed :

  Now, We'll (try) to compute the product of all the digits.
  So move the caret after the first digit, type *
  Result (OK) : 2x|82429536481
  Move right :  2x8|2429536481
  Type another *, and observe, rather than adding a multiply sign, the digit is 
transformed into an exponent sign :

  What should be observed :

  If you type anything else (like pressing space and deleting it), the
  bug doesn't occur.

  The bug is probably due to a bad test for converting ** into ^ :
  - first, it should detect that another key (arrow, shortcut, and even simple 
modifier should be counted as other keys) has been pressed. Or it should be 
based on the character preceding the caret, not the one previously pressed.
  - in any case, it should never replace anything than a *

  $ apt show gnome-calculator
  Package: gnome-calculator
  Version: 3.22.3-1
  Priority: optional
  Section: math
  Maintainer: Debian GNOME Maintainers 
  Installed-Size: 5 691 kB

To manage notifications about this bug go to:

Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to