Jump to content
You must now use your email address to sign in [click for more info] ×

Request: better handling of imported styles when copying and pasting


Recommended Posts

Issue:

In my Affinity Publisher documents, I tend to use the same text styles. When copying and pasting text between the documents, the styles get duplicated with a number added at the end. This happens even if the styles are identical. Example:

284994767_ScreenShot2019-11-27at11_33_41.jpg.3fea4c86fd2e9de6dd0f5049b8941444.jpg.70dffaf4326e95514097a161edbbe3c3.jpg

^ These are all the same style which have been duplicated when copy & pasting between documents. 

Solution:

When copying and pasting between a document, Affinity should ask the user how handle duplicate styles rather than just numbering them.

 

Here is an example of how it could work:

temp.jpg.1c413316c726787ce765f69a5fc4a3a3.jpg.0364b2dcc49cb5d4733f0d0c27f829ad.jpg

This dialogue box would pop up whenever copying and pasting text in situations where Affinity would currently just duplicate the style.
This dialogue box would be optional, activated first via an option in preferences, so users who like the current handling of style can choose not to activate the option. 

Explanation of options:

  • Merge Styles - Keep incoming definition This option will cause the two styles to be merged. All values will follow the source document. 
  • Merge Styles - Keep local definition This option will cause the two styles to be merged. All values will follow the local document. 
  • Create new style - This will create a new style (which is how Affinity currently handles it by duplicating the style and adding a number to the name).

Additional options:

  • Clear Overrides - Any differences between the local and incoming style will be discarded. 
  • Keep Overrides - Any differences between the local and incoming style will be kept as overrides. 
  • Save Overrides as character style - The differences can be saved as a character style. 

Example:

I have  "Document A" which has  text that has a style called "English translation". This is just Helvetica, bold text 12pt. 

I copy and paste this text into "Document B" that already has a style called "English translation". If I select "Merge Styles/incoming" then the style from Document A will be used. If I click clear overrides, then any differences between the text in document A&B will be lost. 

Who would this be useful for:

This would be useful for users who regularly copy and paste text between Publisher documents. 

History

This feature request is actually something I requested back in 2019 for Affinity 1. I am making a new request, because the issue still plagues Affinity 2 and it's super, super annoying. It still happens even when the source and destination have the same style sheet with the same style definitions. 

I literally spend 20% of my time using Affinity wrangling with styles. Grr!

As a workaround, you can copy and paste into a new document, go to the text styles menu and then select "Detach and Delete all styles". And then, from there, you can copy and paste into the destination document. You can then re-apply the styles in the destination document. (If you are on a Mac, you can use Keyboard Maestro to copy and paste your text without formatting, thus saving the step of pasting into a new document). But even with this work around, it's a still a time waste!

I appreciate that development of new features is complicated, so I just hope things work out to make having a solution viable one day, hopefully sooner than later. 

Link to comment
Share on other sites

On 11/8/2023 at 6:22 AM, big smile said:

When copying and pasting text between the documents, the styles get duplicated with a number added at the end. This happens even if the styles are identical.

In my experience, if they are truly identical then the style is not duplicated. The existing style is used.

Can you provide a sample document where the style was duplicated, even though it was identical, that I can look at?

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

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.