Jump to content
vermeer

Pasting a simple calculus expression into Alfred from Evernote

Recommended Posts

This feature was broken a few weeks/months ago, sorry I don't noted exactly when.

 

Steps to reproduce:

Just copy (cmd+C) a simple expression like "2*2" without the quotes, from inside any note in the Evernote application.

Hit cmd+space to open alfred

Paste (cmd+V)

Expected result: Alfred should show "2*2" and the result, which is 4

Obtained result: Alfred is confused and shows nothing, nor 2*2 nor 4

 

Notes

- only happens when copying from Evernote, copying from any other app works as expected

- happens with any text actually, not only calculus expressions. Even copying a single letter "a".

 

Things I tried:

- disabling BetterTouchTool, did not help.

- rebooting, did not help.

- trying cmd+shit+V to paste, did not help.

 

Versions

-MacOS 10.14.4

-Alfred 3.8.1 961

-Evernote 7.9

 

 

 

 

Share this post


Link to post

What about pasting from Evernote into other applications, does that work? What if you copy from Evernote into another application, then copy from that application to Alfred?

Share this post


Link to post
Posted (edited)
  • Copying from Evernote to any other app than Alfred works.
  • Copying from any other app than Evernote to Alfred works.
  • Copying from Evernote to another app, then copy it from that other app to Alfred works.

I made some progress and found out this:

  • type "2*2" in Evernote, without the quotes, select and copy it
  • open Alfred (cmd+space) then paste (cmd+v)
  • immediately hit backspace => Alfred shows "2*2" correctly, but not the result yet
  • cmd+A cmd+X cmd+V => ok now Alfred shows both 2*2 and the result 4

It seems like Evernote adds a "new line" special character somehow at the end of any text you copy from it, and Alfred is really confused by it. And no, I did not select a new line character in Evernote, the bug is still there when I select text strictly inside of a line.

 

The workaround above works, but so many key presses is really annoying, it should just work. I hope we figure out a bugfix.

Edited by vermeer

Share this post


Link to post
Posted (edited)

Pasting from Evernote to another app than Alfred does *not* add a final newline character, I am positive about it. I tested it by pasting in the middle of an existing line. No new line is created.

Edited by vermeer

Share this post


Link to post

@vermeer Testing by simply copying "2*2" with no new line from Evernote, then pasting into a new, plain text TextEdit window adds a new line as well. 

 

It's worth noting that there's a difference between the content pasted from Evernote as plain text and as rich text; The rich text version saved to the macOS pasteboard doesn't include a new line, while the plain text one does, which is a bug in Evernote, should you be bothered to report it. This happens no matter what content you copy; Just try copying any other text from Evernote and pasting it to a plain text window vs a rich text window.

 

When pasting into Alfred's search window, Alfred doesn't process the text in any way to give the most predictable results, as you may want to process the multi-line input with a workflow or use it as-is. It just so happens that Evernote adds unnecessary new lines to the content you copied in the plain text version.

 

Edited to add: This is a *relatively* new bug in Evernote; On an older macOS version, I'm running Evernote 7.2.3 (July 2018 build), the last version supported on El Capitan, and this bug doesn't exist.

 

Cheers,
Vero

 

Share this post


Link to post
1 hour ago, vermeer said:

No need to tell me 😉

You should better tell frankysea haha

 

:D I did look to see if there's a forum member of the same name, so I could tell him not to do such a daft thing. But he's not a member…

 

Just in case he googles himself, I'll use this opportunity to say DON'T KEEP YOUR PASSWORDS IN EVERNOTE, FRANKYSEA, YOU PLONKER!

Edited by deanishe

Share this post


Link to post

FTR got the following answer from support for my ticket #2822847:

 

Quote

[...]

Please know that we're aware of the issue and we're planning to release a fix on a future version.

Here's a workaround for this issue: Paste into TextEdit first, copy again in TextEdit, then paste into your destination app.

[...]

 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

×
×
  • Create New...