fsnotes icon indicating copy to clipboard operation
fsnotes copied to clipboard

Crashes after pasting multiple hyphens (--) from clipboard

Open cedecode opened this issue 3 years ago • 0 comments

Description

Sometimes I want to write two or more hyphens, e.g. --, ---, … A double-hyphen is automatically converted into a dash (). As a workaround, I copy the hyphens to clipboard for using it several times. After inserting from clipboard, FSNotes crashes.

To Reproduce

  1. Write - - (hyphen space hyphen)
  2. Remove the space between the hyphens to make sure it doesn‘t get converted to (dash)
  3. Copy -- to clipboard
  4. Paste -- from clipboard
  5. After first or second attempt the app crashes without error message. The text was not being inserted.

Expected behavior

It should paste --, --- or ---- from clipboard without crashing.

FSNotes version

5.0.3 version 244 from App Store

macOS/iOS version

iPadOS 15.5 and iOS 15.5

Additional context

If I switch off Smart Punctuation in iOS‘ keyboard settings there is no crash. If I reenable it the crashes appear again.

cedecode avatar Jun 20 '22 18:06 cedecode