Duplicate (ctrl-B) misbehaves when outside select-extent, on already-selected object (text)

I'm placing a lot of texts and doing it by
dup-and-change-coord (property edit).

But I find that if I miss the text origin by
just a little (or a lot), instead of ctrl-B
duplicating the object on the panel,
instead it duplicates the high-lit Top Cell
in the Cells window (I get a blahblah$1
new entry and it makes itself the New
Top).

This seems excessively needy. With the
object already selected and the duplicate
command (AFAIK) having no geometry
action of its own, why is the location
of any concern and why would a selected
object want to be deselected when I'm
asking to duplicate it?

Of course what I'd really prefer is the
traditional copy (infix from), to action
as a native key binding.

But given that Duplicate works well enough
(if not smooth or concise) I'd be content
with it "just hanging onto the selected
set and doing it".

Comments

  • Hello @dick_freebird,

    The cell duplication effect is interesting - actually "Ctrl+B" is just an abbreviation of "Ctrl+C"+"Ctrl+V".
    So the cell is actually duplicated, but only if the focus is in the cell list. Once you have clicked inside the drawing area, this should not happen.

    The effect is not quite easy to turn off as the implementation happens on a pretty basic level.

    But here are some comments:

    1. You can get the traditional infix copy by binding this function:

    (here I used "C" for the muscle memory).
    However, this version also duplicates cells. I think it makes sense to turn the cell copy feature at least for this function.

    1. Text selection should be easier in latest KLayout as I have added the whole text area as "senstive area". So it is not longer the origin you have to hit.

    Matthias

  • Thanks Matthias, looks like it's time to update and receive that new
    goodness.

Sign In or Register to comment.