standardnotes / forum

Support from other community members. For 1-on-1 help, please contact help@standardnotes.com.
https://forum.standardnotes.org
201 stars 8 forks source link

Copy and pasting results in extra spaces #3402

Open nisbet-hubbard opened 11 months ago

nisbet-hubbard commented 11 months ago

Describe the bug Copy and pasting text inside a paragraph, even within the app, often results in extra spaces before and after the text. Copy and pasting text on a separate new line results in one extra line before and after the new line.

To Reproduce Steps to reproduce the behavior:

  1. Copy a word.
  2. Tap another word between punctuations, eg >old<.
  3. Tap Paste
  4. See > new <.

Expected behavior >new<

Screenshots N/A

Smartphone (please complete the following information):

effieeee commented 11 months ago

Hi @nisbet-hubbard, which note type are you seeing this behavior on at the moment? (e.g. Super, Rich Text, Markdown etc)

nisbet-hubbard commented 11 months ago

Hi @nisbet-hubbard, which note type are you seeing this behavior on at the moment? (e.g. Super, Rich Text, Markdown etc)

On the vanilla plain text notes.

effieeee commented 11 months ago

I see, though I'm afraid I still haven't been able to reproduce that on the plain text notes so far. May I know if you've tried a reinstall of the app on iOS, while also removing it from iCloud backups?

  1. Open the Settings app, and navigate to your iCloud backups with the following path: [Your name and iCloud account username (at the top)] → iCloud → Manage Storage → Backups → [Tap on the correct device]
  2. Wait for the list of apps to load.
  3. Finally, locate the Standard Notes app and tap on the toggle button to remove the current and all future backups of the app from iCloud.
  4. From there, reinstall the app and sign in again.
nisbet-hubbard commented 11 months ago

iCloud backup is disabled on my devices.

What did you produce?

Let's say you type abcd on a line and >< on a new line. Copy abcd and paste them between ><. What do you end up seeing? On my devices, I saw > abcd <. Try and reproduce it. Do you see >abcd< instead?

effieeee commented 11 months ago

Hi, my apologies, it looks like I misunderstood your initial reproduction steps. I was now able to reproduce this behavior. I noticed it doesn't quite behave the same way for all symbols or punctuations, so we'll have to test this out further as well. 🙏