Paste in New Document Only Adds One Item

tracked

#1

Steps to reproduce

Starting from scratch, what are the steps to make the bug happen? The fewer the steps, the better.

Create a new document,
Click on first entry
Paste multi-line text

Expected result

What do you expect to see after carrying out the steps above?

Each line should be a new item.

Actual result

Instead of the expected result, what happened?

All the text pasted into first item instead, ignoring line breaks.

Environment

Which operating system are you using? Which browser are you using? If you’re using a desktop or mobile app, what’s the version number of Dynalist?

Using Dynalist in Chrome on a MacBook.


Additional information

Anything else you think would help our investigation, like a screenshot or a log file? You can drag and drop screenshots to this box. For large amount of text, try putting them into something like Pastebin.

Deleting the pasted text and re-pasting works.


Additional comments


#2

So you’re pasting in to the title, rather than the bullets, is that correct? I can repro in the title but not in the bullets.

Title:

image

Bullets:

image


#3

That is not correct. I’m pasting into the first bullet.


#4

Here is the same information (grabbed from the front page of wikipedia) pasted twice. Once right after creating a new document, and another time into a document that was created earlier.

https://dynalist.io/d/GDz7PjU6HAmeykDasgMkXfQK

https://dynalist.io/d/-guHUMB8GRD2Mvt7NtkvN8XQ


#5

I see, the time window to repro this is around 1 second to 1.5 seconds, which is shorter than I expected. That’s why I wasn’t able to repro the first time around.

This is what I observed: after you create a new document, the cursor stays on the first bullet for 1-1.5 seconds. At that time the bug happens. If you wait and do nothing during that time, the cursor will automatically be transferred to the document title, so that you can rename the document title from “Untitled”. After that, if you manually place the cursor back onto the first time, the bug no longer happens.

The correct behavior is that the cursor should go to the document title first. We should fix it, thanks for the catch!