Skip to main content

Bug with Cmd + Shift + R (paste to replace).


Expected result: When using Cmd + Shift + R, the target frame should be replaced with the one I am pasting.

Actual result: If I paste a frame containing text in the format of an email address, and the target frame also contains text, then it deletes the target text-frame altogether, and pastes nothing.


Normal Example:



  • I click on a text-frame containing “asdf” (the frame, not the text inside).

  • I copy it, then click on a target text-frame, and press Cmd + Shift + R.

  • The target text-frame is replaced with the text-frame “asdf”. That works great.


Problem Example:



  • I click on a text-frame containing “asdf@asdf.com” (the frame, not the text inside).

  • I copy it, then click on another target text-frame, and press Cmd + Shift + R.

  • The target text-frame is deleted. Nothing gets pasted.


This is the formula to create the problematic text:

:any letter or number]@ any letter or number]. any letter or number]


Exceptions:



  • Symbols do not break the functionality.

  • Pasting a piece of problematic text to replace shapes or non-text frames still works.


These break when pasting to replace a text frame:

asdf@asdf.com

“a@asdf.c”

“asdf@asdf.1”

“1@asdf.c”


These do not break when pasting to replace a text frame:

“asdf@asdf.#”

“#@asdf.com

“$*@asdf.com


My specs:

– Figma Desktop App version 116.18.6

– macOS Sonoma 14.3 (23D56)


Thanks!

Hey @Devon_Latzen - can you drop a screen recording that shows what happens when you do this copy + paste with this? I tried to replicate, but I’m not seeing this. The cmd + shift + r shortcut seems to paste as expected per the steps you mentioned.


I want to see if maybe I misunderstood (& retest on my end), and get a visual to send over to the engineering team.


Reply