Jump to content
luckman212

EN 7.8 final - dangerous bug with code blocks

Recommended Posts

Also reported here but it wasn't fixed. Now 7.8 final is out and the bug remains. 

bug - part 1: when copying text from a code block, an unwanted newline (carriage return) is appended to the end.

This one is dangerous for me since I keep a lot of terminal commands in EN as reference and frequently copy & paste them. The extra carriage return causes the commands to immediately execute if pasted into a terminal. If the command in question was e.g. `rm -rf /foo` that could be catastrophic.

bug - part 2: when selecting a block of text and converting it to code block, 2 extra blank lines are added at the end. screenshots:

before:
image.png.eb0a2123b1569b1520361cd51caa48fe.png

after:
image.png.7cdc8274c98e3140e0837fd75250b48d.png

bug - part 3: if the code block contains blank lines, they are omitted when copy/pasted:

code block:
image.png.c98ceadc062fc559ccf75f2705b5807e.png

after copy/paste into Sublime Text (e.g.)
image.png.3444ec70a195181c6755f48ad0b2a940.png

I opened support ticket #2750982

 

Share this post


Link to post

Fellow premium member here.  Copy and paste functionality is critical for my workflow.

I'm eager for this to be fixed in 7.8 Mac.

Share this post


Link to post
2 hours ago, Seattle32 said:

I'm eager for this to be fixed in 7.8 Mac.

 I   Assume   you mean 7.8.1 Mac, since the bugs in the current version 7.8. 

Share this post


Link to post

 

32 minutes ago, JMichaelTX said:

 I   Assume   you mean 7.8.1 

That's not how EN development works anymore.  There won't be any 7.8.1.  There will be a 7.9 beta 1, which will fix 1 bug but add 3 new ones. 

Those 3 bugs will be reported here. There won't be any more 7.9 betas though. 7.9 will be released, with maybe 1 or 2 of those bugs fixed, but also with 2 new bugs.

Rinse. Repeat.

Share this post


Link to post
30 minutes ago, JMichaelTX said:

That's old school.  I'm hoping that the new CEO Ian Small will fix that.  See Looking Ahead: Evernote's Priorities for 2019 

Guess I missed the memo about the new CEO. Sounds like a glimmer of hope, but to be honest it's been so many years of decline I am not sure the boat can be turned around. For me it's "guilty until proven innocent" at this point.  I do wish EN the best however, and hopefully we will start seeing a change in quality this year.

Share this post


Link to post
25 minutes ago, luckman212 said:

Sounds like a glimmer of hope, but to be honest it's been so many years of decline I am not sure the boat can be turned around

I'm not sure it can be either.  But, I'm willing to give the new CEO a chance, particularly since I have not found any PIM that is better.  If I did, I would probably jump ship. Fortunately, Evernote 6.11.1 (455059) on macOS 10.12.6 is working fine for me, and I won't update until I don't see any material bugs that impact my workflow.

Share this post


Link to post

Anyone heard anything about a fix coming for the copy & paste nonsense? it's all crickets and tumbleweeds around here

Share this post


Link to post

Yes, the developers are working on this but it hasn't been fixed yet.

Share this post


Link to post

Add me to the list here..... this is kind of ridiculous, and I may be getting older a memory may fade from time to time, but I could Swear that we have had this bug in the PAST, then it was fixed.... now back?

Share this post


Link to post

As this is a known issue that is being worked on, I've relocated the thread to the Technical Issues section.

Share this post


Link to post
On 1/9/2019 at 5:49 PM, luckman212 said:

Also reported here but it wasn't fixed. Now 7.8 final is out and the bug remains. 

bug - part 1: when copying text from a code block, an unwanted newline (carriage return) is appended to the end.

This one is dangerous for me since I keep a lot of terminal commands in EN as reference and frequently copy & paste them. The extra carriage return causes the commands to immediately execute if pasted into a terminal. If the command in question was e.g. `rm -rf /foo` that could be catastrophic.

bug - part 2: when selecting a block of text and converting it to code block, 2 extra blank lines are added at the end. screenshots:

before:
image.png.eb0a2123b1569b1520361cd51caa48fe.png

after:
image.png.7cdc8274c98e3140e0837fd75250b48d.png

bug - part 3: if the code block contains blank lines, they are omitted when copy/pasted:

code block:
image.png.c98ceadc062fc559ccf75f2705b5807e.png

after copy/paste into Sublime Text (e.g.)
image.png.3444ec70a195181c6755f48ad0b2a940.png

I opened support ticket #2750982

 

We're working on an updated editor that is addressing both these bugs. I personally just tested it and can reproduce the issue on the current editor, but not in the updated one. We're working hard to have it ready as soon as possible, but to be frank newer updates to the current text editor will not contain these fixes for now. 

Share this post


Link to post

Hi all,

This is no new 'feature'. I remember well the same failure. When I copy from Evernote Mac 7.8 to Terminal: is terryfic!

Please, can anyone push a HotFix?

Thank you.

Share this post


Link to post

this bug is driving me insane. it completely screws up my workflow.

Share this post


Link to post

Not that this is a solution but, if you install 7.9 beta 2 it PARTIALLY fixes this bug, but you still get the extra RETURN/newline added to everything copied from EN.  To work around that portion, I created an Alfred workflow that I bind to "CMD+SHIFT+C" which automatically trims off the extra linefeed. Major kludge but until they can fix the editor component it's better than accidentally pasting  rm -rf /  into a Terminal....

Share this post


Link to post
1 hour ago, luckman212 said:

Not that this is a solution but, if you install 7.9 beta 2 it PARTIALLY fixes this bug, but you still get the extra RETURN/newline added to everything copied from EN.  To work around that portion, I created an Alfred workflow that I bind to "CMD+SHIFT+C" which automatically trims off the extra linefeed. Major kludge but until they can fix the editor component it's better than accidentally pasting  rm -rf /  into a Terminal....

that's a great tip, will try it. thanks.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...