Context value on number fields may give invalid values

Steps to reproduce:

  • open Inkscape with default preferences (or rectangle roundness set to 0.00 at least)
  • create a rectangle
  • right click on Rx or Ry in the Rectangle tool toolbar

What happened?

Negative options are present.

For another example see the negative value in the star tool > corners option

star/polygon tool

What should have happened?

Only valid options should be shown.

Inkscape Version and Operating System:

  • Inkscape 1.0alpha2 (cb40c66693, 2019-08-12) Linux Mint 19.1
  • Inkscape-2019-03-05-393bb89 LM 19.1
  • Not present in Inkscape 1.0alpha (9dee831, 2019-01-15) appimage LM 19.1
  • Not present in 0.92.x build, 0.92.3 ppa, 0.92.4 flatpak LM 19.1