Inkscape.org
Beyond the Basics Ctrl+mouse drag resize causes opposite end point to drift in Inkscape 1.0?
  1. #1
    AllanK AllanK @AllanK

    “before ctrl+mouse drag.svg” is my input and has a circle and 2 paths.

    The paths, radii, start in the center, going in opposite directions, to meet the circle.

    Together, the 2 paths look like a single straight line (diameter).

    I use ctrl+mouse drag to separately extend each of the 2 paths outward (from the center) to be 2-3 times the original length.

    When I do this in Inkscape 0.92, the result of the 2 paths still looks like a straight line.

    When I do the same in 1.0, the result has, at the circle center, a slight separation/kink of the 2 paths.

    (Note: this separation/kink is not totally consistent – sometimes it still looks like a straight line.)

    How do I get 1.0 ctrl+mouse drag to consistently behave like 0.92?

    “after ctrl+ mouse drag 0.92.svg” is the result of ctrl+mouse dragging in 0.92 where the paths still look like a straight line.

    “after ctrl+ mouse drag 1.0.svg” is the result of ctrl+mouse dragging in 1.0 where, at the circle center, a separation/kink appears.

     

    I’m using Inkscape 1.0.2 (e86c870, 2021-01-15) on Windows 10 Pro.

     

    Thank you.

     

    Allan

    After Ctrl+ Mouse Drag 1.0
    After Ctrl+ Mouse Drag 0.92
    Before Ctrl+Mouse Drag
  2. #2
    Polygon Polygon @Polygon🌶

    Try to hold alt+ctrl while dragging a node.

  3. #3
    AllanK AllanK @AllanK

    Thank you for the suggestion PixelPest!

    I tried alt+ctrl+mouse drag and still have the same problem of the separation/kink appearing.

  4. #4
    Polygon Polygon @Polygon🌶

    Have a look at the status bar:

  5. #5
    AllanK AllanK @AllanK

    Thank you PixelPest.

    I think I understand.  You’re using the Node tool with ctrl+alt+mouse drag.   Yes, that seems to work.  That’s a good alternative!

    I was selecting the object, then trying ctrl+alt+mouse drag when I said it didn't work.

    I am accustomed to using the select tool and ctrl+mouse drag on the resize arrows.  Do you know if there’s a way to make that work?

  6. #6
    Polygon Polygon @Polygon🌶

    No - wouldn't recommend this use case. It scales proportionally with holding ctrl-key down - but will introduce shearing&shifting. The Node-tool is the appropriate tool for this task.

    You won't notice it when your path is drawn in at 45° - but every other angle won't really work with the Select-tool and scaling.

  7. #7
    AllanK AllanK @AllanK
    *

    Thank you PixelPest.

    I've attached a slightly more complex example using 2 groups instead of 2 paths.   I still have the separation/kink, and I don't think I can use ctrl+alt+mouse drag in this situation.

    Group After Ctrl+Mouse Drag 1.0
    Group After Ctrl+Mouse Drag 0.92
    Group Before Ctrl+Mouse Drag
  8. #8
    Polygon Polygon @Polygon🌶
    *

    I tried with shift+ctrl to scale from center and got this:

  9. #9
    AllanK AllanK @AllanK

    That's really clever PixelPest! I'm impressed.

    Unfortunately, most of my resizing is not symmetric.🤥  I made the example symmetric to accentuate the drift.

  10. #10
    AllanK AllanK @AllanK

    Since I get a straight line when I do ctrl+drag in 0.92, but I get a separation/kink in 1.0, I'm thinking this is a bug.  Is there something I'm missing?

  11. #11
    AllanK AllanK @AllanK

    In case anyone is interested, I opened an issue and was told:

    Maintainer

    I think this behavior is expected because the bounding boxes have different corners before the scaling

    Setting bounding box to geometric works around this problem.

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Ctrl+mouse drag resize causes opposite end point to drift in Inkscape 1.0?