Shift+ modifier in path brush and eraser tool does not seem to constrain drawing to a line.



  • "Use Shift+ modifier in path brush and eraser tool to constrain drawing to a line."

    I'm not getting that to work for me currently in build 25. Holding down shift as a modifier while I use the path brush or the eraser tool seems to have no effect.
    I'm holding down the shift key on most of these lines I am making and erasing
    Is there more to this that I am missing?


  • administrators

    @Boldline I have to fix the change log: It is with Control+ pressed after the mouse is pressed.



  • @vectoradmin Ok that makes more sense now. Yes it works with the control key (on mac). When we discussed this a while back we had suggested it use the shift modifier as that is most common already with other apps and you were checking the feasibility of that. Did you find that was not a possible switch?

    Aside from it being commonly used for constraining lines in other programs, the only main reason I dislike the control key being the modifier is that I have to start the action first, then engage the control key to avoid getting the secondary menu attached to the cursor. This is a big drawback to me
    It would be a little easier to adapt this way if the initial part of the line made or eraser use made would conform to the added modifier result as soon as it was engaged, but we're not dealing with a modifiable stroke here. So unless we hold the cursor totally still before we use the command key, we will have a non-straight portion each time.


  • administrators

    @Boldline I have to check if Shift+ can be used, I think currently the settings is shared with the Pencil tool.



  • I was checking in the Modifier keys section of the preferences - did you add path brush and eraser to that list? Is that where I would go if I wanted to adjust them?


  • administrators

    @Boldline it is "Draw Lines with Pencil"



  • @vectoradmin ok, if I understand you correctly, if I change the modifier in the modifier settings section of preferences for "Draw lines with pencil" and switch it from "control" to "shift" - that would affect how shift works with both the pencil as well as the eraser and path brush?

    I made that adjustment in preferences and the eraser and path brush do not constrain when shift is engaged


  • administrators

    @Boldline it has the same problem: it has to be pressed after the mouse is pressed.



  • @vectoradmin Thanks for your patience. I just tried using the path brush and the eraser doing what you said, starting the action and then engaging the shift modifier after and it does not constrain in either case. Are you successful in getting it to work with shift after starting the action? Do I need to restart VS?
    Is there a way for VS to do this without having to start the action first? Unlike some features, when we select the eraser tool or the path brush tool, we are engaging that action to come. You're a developer so you would know far better than I, but wouldn't the fact that we switched to the eraser tool or the path brush tool tell VS that the next click and drag would be that function respectively and holding down the modifier beforehand would further limit what the tool is expected to do - even before you use it?


  • administrators

    @Boldline Currently the Shift+ modifier will work only after the action is started, but a single mouse press (without dragging) is sufficient.
    I added this to the backlog, and will try to make it to work even before the mouse is pressed.



  • @vectoradmin ok thanks - for me, right now even if I press down the modifier (I have it set to "shift" currently by changing the "draw lines with pencil" modifier in preferences) and use the path brush or eraser tools before engaging it, it still does not constrain my line as expected. Is it working for you?


  • administrators

    @Boldline Seems to be working here: https://recordit.co/x4alZBJCcB



  • @vectoradmin ok I will try restarting VS and see if that was the cause



  • @vectoradmin I'm still having problems getting the shift to work as an option to constrain the path brush and eraser tools. I removed my saved preferences file because even when I tried switching back to using control as the modifier, I was unable to use control or shift at that point to constrain anything. So I set the preferences back to default and restarted VS and the control modifier was again default and was working as it should - I was successfully able to constrain lines with the control key modifier at this point. I again switched it back to shift - still using the otherwise default preferences, and it was not constraining with the shift as the modifier. When I switch it back to control being the modifier again, it also does work properly anymore...


  • administrators

    @Boldline There is a small change in how the eraser / path brush are handling lines, and will have separate settings from the Pencil tool.