Jump to content

Changing color of embedded object applies color to duplicated objects


Recommended Posts

Hello!

I just started to use Affinity Publisher and I face a strange behavior:

  1. I import a SVG as a layer.
  2. I double click the layer to change the color of the shape (embedded mode).
  3. When I close theĀ tab, the color of duplicated layers is changed as well!Ā šŸ« 

How NOT to apply the color to other layers? I canā€™t find any clue in the UI.

Thanks for your help!

Link to comment
Share on other sites

Hi @lucpotage, welcome to the Affinity forums!

1 hour ago, lucpotage said:

Do I need to create separate identical files and import them separately to avoid the color changes on duplicates?

That's an interesting question and, at least in V1, pointing to a confusing solution. It appears to matter that .SVG is a container file format* which gets handled by Affinity like an Affinity document if opened/edited, regardless whether embedded or linked. (* SVG, PDF, EPS, PS, Affinity Documents)

If you open the Resource Manager you will see the initially placed .SVG and its local copy as two instances of one file, displayed in one common folder in the Resource Manager. Apparently editing one of the objects inside this folder affects the other too (which, IMHO, feels like a bug or misleading 'by design'). Note, once you edited an embedded SVG resource its option "Make Linked" in the Resource Manager is grayed out ā€“ although its initial file path is still known to Affinity. (for other object types Affinity would offer to define a new file path)

To avoid this issue you may need to place the file multiple times from your disk instead of copying an already placed object. If placed as a separate resource it gets listed in the Resource Manager as a separate object, even though all of them still are displayed with the same initial file path. So if you copy an already placed SVG into an Affinity layout, Affinity seems to treat it similarly to an ā€œiconā€ object in AD.

Bildschirmfoto2024-11-30um14_36_07.thumb.jpg.458763386cc80c6afad933e2aca53f7e.jpg

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Link to comment
Share on other sites

I use v2 and itā€™s the same philosophy. Iā€™m used to Figma which works differently. I will now prepare resources in advance in a dedicated Resources folder and add them individually to Publisher. Thank you for the detailed answer!

Link to comment
Share on other sites

Hi @lucpotageĀ and welcome to the forums,

The only way I can think of doing that would be to copy the contents of the SVG from the embedded page directly into your main page (as @thomasoĀ suggests) and group if necessary then make duplicate instances of the object directly in your main document as required. That will allow you to edit individual instances of the object without affecting the duplicates.

You could, if using the object a lot across various documents, create an Asset from the object by adding it to the Assets panel. You can then add instances of the object to your page and edit as required...

Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5
Affinity Designer Beta 2.6.0.2861 | Affinity Photo Beta 2.6.0.2861 | Affinity Publisher Beta 2.6.0.2861

MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Link to comment
Share on other sites

5 minutes ago, Return said:

You can drag/drop an svg to an assets category

Well there you go, I learnt something new today, it never occurred to me to try that...

Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5
Affinity Designer Beta 2.6.0.2861 | Affinity Photo Beta 2.6.0.2861 | Affinity Publisher Beta 2.6.0.2861

MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Link to comment
Share on other sites

25 minutes ago, lucpotage said:

I will now prepare resources in advance in a dedicated Resources folder and add them individually to Publisher.

If you want to edit the placed resources as embedded objects there is actually not need to have (create) them first as separate, external resources. Instead, like @Hangman demonstrated, it may be more efficient (with same or more flexibility) to create or copy/paste its layers within/into the layout document. Small disadvantage: This way the objects are not listed in the Resource Manager, e.g. for easier overview, and also don't show their placed resolution of possibly nested pixel layers in the context toolbar or Resource Manager.

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.