Sketch ignoring Rename duplicated layers settings

Even with the checkbox unchecked, Sketch still adds “Copy…” to a duplicated layer.
I tried toggling the checkbox on and off again, but it didn’t make any difference.

Hey Leo!

Thanks for raising this. This is the second report we’ve gotten of this and we’d love to have a copy of this Component to see if we can get it to happen. On the first case it was happening everywhere, but a quick rebuild of the preferences file solved the issue. However, they were still having some cases where Symbols where still exhibiting the issue.

  1. Close the Mac app
  2. Open Finder
  3. In the Menubar, select Go > Go to Folder… or press ⇧⌘****G (Shift-Command-G)
  4. Enter the following path in the dialog that appears: ~/Library/Preferences/com.bohemiancoding.sketch3.plist and click Go
  5. The preferences file will be located. Drag it to your Desktop and relaunch the Mac app.
    If everything is now working as expected, you can delete the preferences file from your Desktop.

:light_bulb: Note: When you delete the preferences file you may need to set some preferences in the app and plugins again.

Let us know if this helps!

Thanks!, unfortunately deleting preferences didn’t solve it.

Hey @leohans,

Thanks for trying that out! Would you mind sharing this specific Component with us via productsupport@sketch.com?

We’d love to take a look and see if we can find out why this is happening.

How do I share the specific component?

You can share:

@leohans We’ve changed this so the preference will be respected even in layers with exports and it’ll be in the next update (v2025.2). It could lead to more frequent overwrites of exports, but well, it’s not the default, and the settings will mention this possible consequence.

1 Like

Thank you for considering and implementing it. I know it’s an undesirable side effect, but in cases where you duplicate a lot (for example, icons), having to constantly delete the copy is really annoying. It’s always said that great freedom comes with great responsibility :wink:

2 Likes

Thank you for the initial report and the collab while we adjusted the preference!

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.