alexbet Posted March 12, 2015 Share Posted March 12, 2015 I encountered a very weird thing in Affinity Designer. Many times I have text in my designs, and I copy-paste that text when I am creating the HTML files with SublimeText. It works fine with photoshop and illustrator, but for some reason it doesn't work with AD. The proble, is that when I copy text in AD, and then try to paste that text in SublimeText, it doesn't work (doesn't paste the text). It is VERY weird! Am I doing something wrong, or is this a bug of some kind? Quote Link to comment Share on other sites More sharing options...
Dave Harris Posted March 12, 2015 Share Posted March 12, 2015 Which tool is active when you copy? At the moment, If you select the text with the text tool, we put RTF and plain text on the clipboard, and SublimeText ought to be able to use one of those. However, if you have the text selected with the Move tool, we put SVG on the clipboard instead of text. It may be that Illustrator understands the SVG and SublimeText doesn't. Does it work if you use the Art Text tool? Quote Link to comment Share on other sites More sharing options...
alexbet Posted March 13, 2015 Author Share Posted March 13, 2015 I am using the text tool (the A icon). I select the text that I want to copy with it, I copy it, and when I paste into SublimeText, nothing happens. Quote Link to comment Share on other sites More sharing options...
Dave Harris Posted March 13, 2015 Share Posted March 13, 2015 Strange. I would expect that to work. Which version of Sublime Text are you using? I'll take a look at it (probably next week now). Quote Link to comment Share on other sites More sharing options...
Dave Harris Posted March 17, 2015 Share Posted March 17, 2015 I have tried this using a trial versions of Sublime Text 2.0.2, and both App Store and beta versions of Affinity Designer. For me it always works, provided only that Designer is still running when you do the paste. (We clear the clipboard on exit to avoid having to render the variety of formats we offer to the clipboard.) However, if our app is closed we won't paste into Illustrator, either, and you say that works. Sublime Text seems to accept plain text from the clipboard, and I can't see why pasting into Sublime Text would fail and then into Illustrator would work. Can you tell us any more about what you are doing? Quote Link to comment Share on other sites More sharing options...
alexbet Posted March 18, 2015 Author Share Posted March 18, 2015 I am doing exactly what I told you before, and AD is of course still running. I am however using SublimeText 3, the latest build, not v2. http://www.sublimetext.com/3 Quote Link to comment Share on other sites More sharing options...
Dave Harris Posted March 18, 2015 Share Posted March 18, 2015 That version works for me too: build 3065. (I didn't try it before because it says it is a beta.) If you can paste into TextEdit and into Photoshop and Illustrator, I wonder if it is a bug in Sublime Text. Quote Link to comment Share on other sites More sharing options...
alexbet Posted March 20, 2015 Author Share Posted March 20, 2015 I doubt it is a bug with SublimeText. I think that you misunderstood me about Photoshop and Illustrator. I said that when I copy text from Photoshop and Illustrator and I paste it into SublimeText, it works fine. But, when I copy from AD and paste to SublimeText, it doesn't work.. Quote Link to comment Share on other sites More sharing options...
Dave Harris Posted March 31, 2015 Share Posted March 31, 2015 OK; so can you paste text from Designer into any other apps at all? Eg TextEdit, or Pages? Quote Link to comment Share on other sites More sharing options...
alexbet Posted April 1, 2015 Author Share Posted April 1, 2015 Yes I can paste into TextEdit and Pages. But those programs also support formatting of the text, they are not plain text editors. I just tested with Brackets too, which is also a text editor like Sublime Text, and it doesn't work in Brackets either. Both SublimeText and Brackets are plain text editors. It seems like the copied text carries some formatting information with it which can not be pasted into these plain text editors. Quote Link to comment Share on other sites More sharing options...
outofcontrol Posted July 10, 2015 Share Posted July 10, 2015 I'm a new AD user and just hit the same issue. I can confirm that if I copy text from AD, paste into TextEdit, then copy the TextEdit text just pasted, I can then paste into SublimeText just fine. I can also copy paste perfectly well from AD directly into BBEdit (plain text editor). I suggest this is a SublimeText issue, not AD. Quote Link to comment Share on other sites More sharing options...
ihsansengun Posted November 24, 2017 Share Posted November 24, 2017 Having exactly the same problem with AD - PhpStorm. I bought a clipboard manager (Copy'em Paste) to fix this issue but it didn't work too.https://www.screencast.com/t/XrzBCwuq Quote Link to comment Share on other sites More sharing options...
v_kyr Posted November 24, 2017 Share Posted November 24, 2017 Hmm, already tested this with AD v1.6 and Sublime Text v3 under OSX El Capitan and it works here. Probably no need to say, that of cause the text in AD has to be marked/selected first before copying over via the clipboard. - It also works here for other editors (emacs, vi etc.), even when used inside a terminal/shell. Quote ☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan ☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2 Link to comment Share on other sites More sharing options...
harbortype Posted April 10, 2018 Share Posted April 10, 2018 I am also experiencing this bug for a couple of years now so I've decided to inspect this issue using some clipboard tools. I may be wrong here, but it seems the clipboard contents when copied from Affinity are missing the title attribute. This was using the text tool with some highlighted text. Quote Harbor Type | Fonts made in Brazil Link to comment Share on other sites More sharing options...
carlosgoce Posted August 10, 2018 Share Posted August 10, 2018 This is still happening. I tried to copy/paste text into sublime text / visual studio code / atom, and none of them pasted the text. Only worked on TextEdit I don't know why. I am using a Mac. Quote Link to comment Share on other sites More sharing options...
usce Posted August 15, 2018 Share Posted August 15, 2018 This is happening to me on Windows 10 also. I can copy text to Affinity Designer but can't copy from it. I don't think its an issue with sublime at all. I tried to copy it anywhere, it won't copy. Quote Link to comment Share on other sites More sharing options...
R C-R Posted August 15, 2018 Share Posted August 15, 2018 52 minutes ago, usce said: This is happening to me on Windows 10 also. I can copy text to Affinity Designer but can't copy from it. I don't think its an issue with sublime at all. I tried to copy it anywhere, it won't copy. Did you select (highlight) the text characters in the Artistic or Frame text block first? Just selecting the text block without entering text entry mode & selecting some of the text in it probably won't work because it is just copying the Artistic or Frame text block itself, which no other apps besides the Affinity ones can use. Quote All 3 1.10.8, & all 3 V2.5.6 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
harbortype Posted August 15, 2018 Share Posted August 15, 2018 I’ve recorded a screencast to hopefully make the issue more clear. In short, Affinity Designer seems to copy text as rich text only. TextEdit can paste it, but Sublime expects the plain text part which is missing from the clipboard. It works if copy in AD, paste in TextEdit, copy in TextEdit and then paste in Sublime Text. Affinity copying and pasting text.mov Quote Harbor Type | Fonts made in Brazil Link to comment Share on other sites More sharing options...
usce Posted August 15, 2018 Share Posted August 15, 2018 17 minutes ago, R C-R said: Did you select (highlight) the text characters in the Artistic or Frame text block first? Just selecting the text block without entering text entry mode & selecting some of the text in it probably won't work because it is just copying the Artistic or Frame text block itself, which no other apps besides the Affinity ones can use. Ok, so what do you suggest? I just selected the text, double clicked to enter "edit" mode and then highlighted text, then tried copy/paste but not working. Quote Link to comment Share on other sites More sharing options...
R C-R Posted August 15, 2018 Share Posted August 15, 2018 1 hour ago, hbeier said: In short, Affinity Designer seems to copy text as rich text only. TextEdit can paste it, but Sublime expects the plain text part which is missing from the clipboard. From what I can tell, at least in the current macOS High Sierra retail version, even TextEdit copies text as rich text only if TextEdit is set to use the rich text format, so I have no idea why pasting to TexEdit first & then from there into Sublime (which I do not use) works. Quote All 3 1.10.8, & all 3 V2.5.6 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
harbortype Posted August 15, 2018 Share Posted August 15, 2018 6 minutes ago, R C-R said: even TextEdit copies text as rich text only if TextEdit is set to use the rich text format I don‘t think that‘s true. You may test this yourself: 1. Copy some text from Affinity Designer and paste in TextEdit using ⌥⇧⌘V (Paste and Match Style). Nothing will be pasted. This is essentially pasting as plain text. 2. Now paste in TextEdit using ⌘V (the normal Paste). The text will be pasted as rich text. 3. Then, copy the text in TextEdit and paste it back (in TextEdit) using both ⌘V and ⌥⇧⌘V. You will notice they both work fine, as TextEdit sets the clipboard correctly with plain text and rich text versions. Inspecting the clipboard contents from different apps a while back also indicated that Affinity Designer is not copying things correctly. See that the 4th line is missing the title attribute: On 4/9/2018 at 11:16 PM, hbeier said: I am also experiencing this bug for a couple of years now so I've decided to inspect this issue using some clipboard tools. I may be wrong here, but it seems the clipboard contents when copied from Affinity are missing the title attribute. This was using the text tool with some highlighted text. Quote Harbor Type | Fonts made in Brazil Link to comment Share on other sites More sharing options...
R C-R Posted August 15, 2018 Share Posted August 15, 2018 15 minutes ago, hbeier said: 3. Then, copy the text in TextEdit and paste it back (in TextEdit) using both ⌘V and ⌥⇧⌘V. You will notice they both work fine, as TextEdit sets the clipboard correctly with plain text and rich text versions. That is not happening here. No matter how I copy the text back into a TextEdit file set to use the rich text format, the only thing copied to the clipboard from it is the rich text version. Likewise, if the TextEdit file is set to use the plain text format, the only thing copied to the clipboard is plain text. Quote All 3 1.10.8, & all 3 V2.5.6 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
Recommended Posts
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.