is it possible to have a different behavior for right.left rectangle-selection? select touching

some CADs use different selection modes if one uses the selection rectangle in clicking first left or first right. the left-first selects normally all inside the rectangle while the right-first selects all the rectangle touching things.

is it possible to have the behavior also in KLayout?

Comments

  • By "first-right" you mean right mouse button?

    But that is taken for zoom rectangle. How would you zoom then?

    Matthias

  • I've seen some tools which have select-direction modality
    and I try to turn it off, first thing. Same with "strokes". Too
    much conflict with "muscle memory" from simpler times.

    Now I would be in favor of more modal options in selection,
    maybe up under the "Select" pulldown, where they won't
    bother me and my hand-work until I want to go visit. And I
    encourage some exposition re "menu extensibility" (if it is
    a thing) or adding if it isn't. Like binding a user's Python
    script to an added menu-tree or ribbon pull-down button.
    Contrib menu additions brings us function from the "outer
    rings"?

  • yes, i mean the right mouse-button. i zoom using the mouse-wheel. that's my muscle-memory :)
    im used to use the left mouse click for selecting, the right mouse click for context-menue and this different right-to-left and left-to-right selection box.
    even Xschem does it (if set in the xschemrc) :)

  • edited August 27

    thats for the grid-question... sorry

  • edited August 27

    Well .. it is difficult to implement the same behavior than every other tool. Every one has his or her own muscle memory. I personally don't want to miss the zoom-by-box feature because that is my muscle memory.

    But after reading your original text I think you mean dragging the selection box (left mouse button) from left to right means "all inside" while dragging from right to left means "all touching". Correct?

    Matthias

  • Yes. thats exactly what i meant. do You think its interessting?

    and then i would like to do something like a poormans context menue: most CAD/vector-graphics SW uses the right mouse click for context-menues. this is in KLayout not possble, because of the zoom-function. but it would also be nice the be able to define a short-cut for the Edit::Select-menue: if i select a few things, i could press "F8" and get the menue for "aligne", "Make Cell" and so on. that seems not to be possible at the moment, but could be easy to implement. best would be to show the menue at the mouse coordinates, like a context-menue does. this would limit the short-cut i need to remember greatly.

    what do You think about it?

Sign In or Register to comment.