Inkscape.org
Beginners' Questions Bug with Arrow Keys move by mm ?
  1. #1
    Ota Ota @Ota

    When configuring Preferences - Behavior - Steps : Arrow Keys move by 1,000 mm
    When I try to move by one millimeter using the Right Arrow key, it moves by 0.794 mm.

    Is this a bug?

    How should I proceed to be able to move by the Arrow key distances in millimeters with Unkscape V 1.4?

  2. #2
    David248 David248 @David248
    *

    I can reproduce the exact same issue : 0.794 mm move instead ofΒ  1 mm

    I also tried with 10 mm steps. Made my measurements with 10 mm squares, no stroke, geometric bounding boxes. Surprinsigly the move becomes 9,79 mm.

    I think it desserves a bug report.

    Transform (Tab Move) panel isn't affected by this error.

  3. #3
    Paddy_CAD Paddy_CAD @Paddy_CAD

    This looks like a bug to me. Any value and unit entered for arrow key step is first converted to "px" and then truncated to a whole number. To see this, set the measurement unit in the Select tool control bar to "px" and set the arrow key step to [0.1 in].

    96 pixels per inch / 25.4 mm per inch =Β 3.77952756 pixels per mm

    0.1 inch = 9.6 pixels
    step = 9 pixels =Β 0.9375 inch

    10 mm = 37.79527559 pixels
    step = 37 pixels =Β 9.78958333 mm

  4. #4
    David248 David248 @David248

    This might be related to this reported issue (rounding pixels numbers) ?.

  5. #5
    Paddy_CAD Paddy_CAD @Paddy_CAD

    Thanks David248. According to the bug tracker, this bug has been squashed and we'll see the fix in the next release.

Inkscape Inkscape.org Inkscape Forum Beginners' Questions Bug with Arrow Keys move by mm ?