[go: up one dir, main page]

Rotation is backwards with Y-axis pointed up

Summary:

With y-axis selected up, rotate buttons on the toolbar and shortcuts ctrl+[ & ctrl+] rotate an object opposite of expected behavior. The transform dialog is not affected.

Steps to reproduce:

  • open Inkscape
  • open preferences
    • select Interface in the left sidebar
    • ensure Origin at upper left with y-axis pointing down is checked
    • if not checked, check it and restart Inkscape
  • observe correct default behavior
    • add a star or triangle (any object where you can tell the "up" orientation)
    • Press the rotate clockwise (CW) button - observe object rotating CW
    • Press the rotate counter-clockwise (CCW) button - observe object rotating CCW
    • Press Ctrl + ] - observe the object rotating CW
    • Press Ctrl + [ - observe the object rotating CCW
    • Open the Transform Dialog (Shift + Ctrl + M)
      • Switch to the Rotate tab
      • Choose 90º
      • Select the Rotate in a clockwise direction button (should be the default option)
      • Select the object and click the Apply button in the transform dialog
      • Observe the object rotating CW
      • Select the Rotate in a counter-clockwise direction button
      • Select the object and click the Apply button in the transform dialog
      • Observe the object rotating CCW
  • open preferences
    • select Interface in the left sidebar
    • deselect Origin at upper left with y-axis pointing down
  • restart Inkscape
  • observe bugged behavior
    • add a star or triangle (any object where you can tell the "up" orientation)
    • press the rotate CW button - observe object rotating CCW
    • press the rotate CCW button - observe object rotating CW
    • press Ctrl + ] - observe the object rotating CCW
    • press Ctrl + [ - observe the object rotating CW
    • Open the Transform Dialog (Shift + Ctrl + M)
      • Switch to the Rotate tab
      • Choose 90º
      • Select the Rotate in a clockwise direction button (should be the default option)
      • Select the object and click the Apply button in the transform dialog
      • Observe the object rotating CW
      • Select the Rotate in a counter-clockwise direction button
      • Select the object and click the Apply button in the transform dialog
      • Observe the object rotating CCW

What happened?

With y axis pointing down (default preference) the rotate buttons, shortcuts, and transform dialog all behave the same and rotate in the expected direction. When the user chooses y axis pointing up in preferences, the toolbar rotate buttons and keyboard shortcuts work opposite to their labeled function while the transform dialog continues to work in the expected direction.

What should have happened?

Upon switching the y-axis user preference to y-axis pointing up, the direction of rotation from the buttons, shortcuts, and transform dialog should remain the same as with y-axis pointing down. Clockwise should always be clockwise and counter-clockwise should always be counter-clockwise, regardless of the y-axis orientation.

Sample attachments:

rotation_tester.svg

This file has an object that can help see the orientation of rotation. It is not necessary to reproduce the bug. Please be sure to set preferences before testing behavior.

Version info

Inkscape 1.4.2 (f4327f4, 2025-05-13)

                      Compile  (Run)
    GLib version:     2.84.0
    GTK version:      3.24.49 (3.24.49)
    glibmm version:   2.66.7
    gtkmm version:    3.24.9
    libxml2 version:  2.12.10
    libxslt version:  1.1.43
    Cairo version:    1.18.4 (1.18.4)
    Pango version:    1.56.3 (1.56.3)
    HarfBuzz version: 10.4.0 (10.4.0)

    OS version:       Windows 11 25H2