Inkscape.org
Beyond the Basics Scale while centered doesn't work with guide lines
  1. #1
    taydin taydin @taydin

    Hi, using inkscape 1.2 on Debian linux. I create a new document, create two guide lines like a cross and then create a circle centered at the cross of the guide lines. Then I change circle to an arc. Then I place the center of transformation to the cross of the guide lines and scale the arc (hold down shift and control while dragging bounding box corner). But after the scaling, I am seeing that the center of transformation has moved away from the cross of the guide lines. Is this a known issue or am I doing something wrong?

  2. #2
    Tyler Durden Tyler Durden @TylerDurden

    Not reproduced in 1.2.1, Win 8.1 and Linux 20.3

  3. #3
    taydin taydin @taydin
    👍

    Downloaded version 1.2.1 now, problem seems to be resolved in this version.

  4. #4
    taydin taydin @taydin

    Upon looking at this in more detail, the problem is still present with version 1.2.1, even though the center shift is much less than 1.2. I have used the linux version, Inkscape-9c6d41e-x86_64.AppImage. Then I tried the windows version, and the windows version does NOT have this problem. This is linux specific.

    I have then built inkscape from source, tip of the master branch, and now the problem does not happen. So perhaps the problem is related to the combination of packaged components in the AppImage, considering that the problem does happen with the windows version.

  5. #5
    Tyler Durden Tyler Durden @TylerDurden

    My Mint version was installed PPA, and is bang-on, like my windows version.

    Issues can be searched here: https://gitlab.com/inkscape/inbox/-/issues

     

  6. #6
    taydin taydin @taydin

    With a circle, I am able to scale the circle using Alt-Shift-Drag, and the center of rotation stays on the guide line intersection or the grid. The problem only occurs when an ARC is scaled. Maybe my expectation isn't right. When scaling an ARC using Alt-Shift-Drag, I'm expecting the ARC to scale while the center of rotation STAYS on the grid or the guides, but this doesn't happen. I have actually checked again with the version I built from the source. There is very little movement, but still it moves. The only way I can scale an ARC around fixed center is if I enter the Rx and Ry manually ...

  7. #7
    Marcos González Marcos González @mrks9

    Hi, I am on L. Mint 20.03 and using the same appimage. I have tried to reproduce the problem quickly, without exact values, but I think the rotation center has not moved after scaling the arc.

  8. #8
    Tyler Durden Tyler Durden @TylerDurden
    👍👍

    (I use Ctrl+Shift-Drag. But that is not the issue.)

    The issue is likely due to the bounding-box reference to the arc's stroke. 

    • If the bounding box is set to "Geometric" in the Preferences, the issue is not present.
    • Or, If the Select tool control for "Scale stroke in proportion" is set to active, the issue is not present.


     

  9. #9
    taydin taydin @taydin
    *

    I have attached a video of the steps I take. I create a perfect circle (just so that I have a center to go back to) and then I create an arc and scale it using Alt-Shift-Drag. The first scale works (this is not a given, sometimes the first one doesn't work and the center is shifted, here it worked). The second scale moves the center.

     

     

     

  10. #10
    taydin taydin @taydin

    Still strugging with the usage of the forum. This is a reply to @TylderDurden:

    I have tried enabling the "Scale stroke in proportion" and indeed this prevent the problem from happening. And if I set the stroke width to what I wanted to be after the scale, the center is still fixed. So this adds one more step to my process, but that's OK, I've been strugging for almost two days with this.

  11. #11
    taydin taydin @taydin
    👍

    Tyler, I have also tried the bounding box "geometric" setting. With this setting, I don't have to select the "scale stroke in proportion" anymore and the center stays put. Thanks a lot for the resolution, very much appreciated!

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Scale while centered doesn't work with guide lines